TC #58 — Phase 6 :diff handles bad ref, empty diff, --cached #58
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scenario
Expected
[aish] diff failed (exit <N>): garbage..nonexistent; nothing injected to context[aish] (no diff): (working tree); nothing injected--cachedAcceptance
Each case emits an appropriate status. Context is NOT polluted with empty / error frames.
Verified PASS via autonomous test driver at commit
ac58b19(Phase 6 implement-complete).Bad ref (
garbage..nonexistent) ->diff failed (exit N)status, no inject.--cachedwith staged changes ->diff injected: --cachedstatus. Empty diff in clean repo ->(no diff): (working tree)status, no inject. All three skip-paths confirmed.Closed by Phase 7 verify pass.