huskies: merge 984

This commit is contained in:
dave
2026-05-13 16:43:19 +00:00
parent c3c9db3d8b
commit 580480094e
25 changed files with 501 additions and 97 deletions
+7 -1
View File
@@ -16,7 +16,13 @@ use super::{list_worktrees, remove_worktree_by_story_id};
pub fn worktree_should_be_swept(stage: Option<&Stage>) -> bool {
match stage {
None => true,
Some(Stage::Done { .. }) | Some(Stage::Archived { .. }) => true,
Some(
Stage::Done { .. }
| Stage::Archived { .. }
| Stage::Abandoned { .. }
| Stage::Superseded { .. }
| Stage::Rejected { .. },
) => true,
Some(_) => false,
}
}