sync-worktrees 3.6.0 → 3.6.1
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.js +2 -1
- package/dist/index.js.map +2 -2
- package/dist/mcp-server.js +2 -1
- package/dist/mcp-server.js.map +2 -2
- package/package.json +1 -1
package/dist/mcp-server.js
CHANGED
|
@@ -1485,10 +1485,11 @@ var WorktreeStatusService = class {
|
|
|
1485
1485
|
const reasons = [];
|
|
1486
1486
|
if (!isClean) reasons.push("uncommitted changes");
|
|
1487
1487
|
if (hasUnpushedCommits) reasons.push("unpushed commits");
|
|
1488
|
+
if (hasStashedChanges) reasons.push("stashed changes");
|
|
1488
1489
|
if (hasOperationInProgress) reasons.push("operation in progress");
|
|
1489
1490
|
if (hasModifiedSubmodules) reasons.push("modified submodules");
|
|
1490
1491
|
if (upstreamGone) reasons.push("upstream gone");
|
|
1491
|
-
const canRemove = isClean && !hasUnpushedCommits && !hasOperationInProgress && !hasModifiedSubmodules;
|
|
1492
|
+
const canRemove = isClean && !hasUnpushedCommits && !hasStashedChanges && !hasOperationInProgress && !hasModifiedSubmodules;
|
|
1492
1493
|
const details = includeDetails ? this.buildStatusDetails(snap) : void 0;
|
|
1493
1494
|
return {
|
|
1494
1495
|
isClean,
|