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/index.js
CHANGED
|
@@ -2756,10 +2756,11 @@ var WorktreeStatusService = class {
|
|
|
2756
2756
|
const reasons = [];
|
|
2757
2757
|
if (!isClean) reasons.push("uncommitted changes");
|
|
2758
2758
|
if (hasUnpushedCommits) reasons.push("unpushed commits");
|
|
2759
|
+
if (hasStashedChanges) reasons.push("stashed changes");
|
|
2759
2760
|
if (hasOperationInProgress) reasons.push("operation in progress");
|
|
2760
2761
|
if (hasModifiedSubmodules) reasons.push("modified submodules");
|
|
2761
2762
|
if (upstreamGone) reasons.push("upstream gone");
|
|
2762
|
-
const canRemove = isClean && !hasUnpushedCommits && !hasOperationInProgress && !hasModifiedSubmodules;
|
|
2763
|
+
const canRemove = isClean && !hasUnpushedCommits && !hasStashedChanges && !hasOperationInProgress && !hasModifiedSubmodules;
|
|
2763
2764
|
const details = includeDetails ? this.buildStatusDetails(snap) : void 0;
|
|
2764
2765
|
return {
|
|
2765
2766
|
isClean,
|