mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-26 23:36:11 +00:00
feat(daemon): prune branches merged without a PR, protect long-lived ones
- Prune a worktree whose pushed tip a merge commit brought into the default branch (not on its first-parent history), with no forge needed. - Never prune or keep from materializing main/master/development/... plus sync.prune_protected; this also stops a development->main PR pruning development. - Follow repos transferred or renamed on the forge when listing merged PRs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c7899bcdc0
commit
a1646bccb7
12 files changed
+323
-49
No files matched your search
@@ -388,6 +388,8 @@ fn archive_and_receive_in_one_pass_do_not_collide_on_backup_refs() {
|
||||
push_snapshots: true,
|
||||
merged: vec![],
|
||||
disposable: vec![],
|
||||
prune: false,
|
||||
protected: vec![],
|
||||
};
|
||||
w.g1.run(&["checkout", "-q", "-b", "feat/z"]).unwrap();
|
||||
commit(&w.g1, "z.txt", "z\n");
|
||||
|
||||
Reference in new issue
Block a user