feat: resolve diverged worktrees, status --plan, snapshot size limit

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-11-16 13:25:22 +01:00
1 parent b86342b1d0
commit 398b959ffe
13 files changed
+443 -17

No files matched your search

+7
View File
@@ -35,6 +35,13 @@ fn new_repo_pushes_and_a_fresh_machine_clones_it_into_the_bare_layout() {
let b = base.join("B/g/proj");
let made = clone_bare_layout(url, &b, &[]).unwrap();
assert_eq!(made.len(), 1);
assert_eq!(
Git::new(b.join("main"))
.run(&["rev-parse", "--abbrev-ref", "@{upstream}"])
.unwrap(),
"origin/main",
"cloned worktrees must track their remote branch"
);
assert!(b.join("main/.git").exists() && b.join(".bare").is_dir());
assert_eq!(
Git::new(b.join("main"))