huskies: merge 876

This commit is contained in:
dave
2026-04-29 21:14:27 +00:00
parent 56244e8e35
commit db526bbdb2
6 changed files with 65 additions and 63 deletions
+4 -1
View File
@@ -103,7 +103,10 @@ pub async fn handle_rmtree(
}
// Remove the worktree.
if let Err(e) = crate::worktree::prune_worktree_sync(project_root, &story_id) {
let config = crate::config::ProjectConfig::load(project_root).unwrap_or_default();
if let Err(e) =
crate::worktree::remove_worktree_by_story_id(project_root, &story_id, &config).await
{
return format!("Failed to remove worktree for story {story_number}: {e}");
}