@theokit/sdk-tools 0.22.2 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -865,7 +865,8 @@ function createGitStatusTool(opts) {
|
|
|
865
865
|
}
|
|
866
866
|
const scopeCheck = checkPathScope(path$1, projectRoot);
|
|
867
867
|
if (scopeCheck !== null) return scopeCheck;
|
|
868
|
-
const args = ["status", "--porcelain"];
|
|
868
|
+
const args = ["status", "--porcelain=v1"];
|
|
869
|
+
if (opts.includeBranch !== false) args.push("-b");
|
|
869
870
|
if (path$1 !== void 0 && path$1 !== "") args.push("--", path$1);
|
|
870
871
|
const result = await runGitProcess(projectRoot, args, timeoutMs, maxStdoutBytes);
|
|
871
872
|
return formatGitResult(result, timeoutMs);
|