feat: delete reflog file when branch is deleted
Git-idiomatic: branch deletion removes the corresponding .muse/logs/refs/heads/<branch> file and prunes empty parent dirs. Before this, stale reflog files accumulated indefinitely for all merged/deleted branches.
3 new TDD tests covering flat branches, nested branches, and -D.
sha256:2703413165dcc8e6ebb5d893544b6a3a121cd37356e22a72688f422f884e5261
sha
+5
~6
symbols
sha256:8eaec81bc45005e4f5889d62c2bffe462e2a7b457101187eb90e9561a1445f2d
snapshot
+5
symbols added
~6
symbols modified
0
dead code introduced
Semantic Changes
11 symbols
~
run
+
test_delete_nested_branch_removes_reflog_and_empty_dirs
method
method test_delete_nested_branch_removes_reflog_and_empty_dirs L490–501
+
test_force_delete_also_removes_reflog
method
method test_force_delete_also_removes_reflog L503–512
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:2703413165dcc8e6ebb5d893544b6a3a121cd37356e22a72688f422f884e5261 --body "your comment"
No comments yet. Be the first to start the discussion.