mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-26 15:26:09 +00:00
fix(core): protect ignored files and fix backup ref namespaces
Archive no longer deletes worktrees holding ignored files, fast-forward and snapshot apply decline instead of overwriting ignored files, backup refs use per-kind namespaces, add refuses sparse checkouts. Regression tests and docs updated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
938604193e
commit
126acb4b57
6 files changed
+277
-20
No files matched your search
@@ -153,8 +153,10 @@ fn print_report(rep: &SyncReport) -> Result<()> {
|
||||
if let Some(s) = w.snapshot {
|
||||
notes.push(format!("snapshot {s}"));
|
||||
}
|
||||
if let Some(Received::FastForwarded { .. }) = &w.received {
|
||||
notes.push("fast-forwarded".into());
|
||||
match &w.received {
|
||||
Some(Received::FastForwarded { .. }) => notes.push("fast-forwarded".into()),
|
||||
Some(Received::Declined(why)) => notes.push(format!("not fast-forwarded: {why}")),
|
||||
_ => {}
|
||||
}
|
||||
if let Some((m, a)) = &w.applied {
|
||||
match a {
|
||||
|
||||
Reference in new issue
Block a user