Reject a redo on an unrelated commit before running git

main

Commit

peyton-alt5d ago

Every commit after a reset ran two git subprocesses and diffed each dropped commit before the first since-commit check rejected it. The cheap half of that check (did the commit recommit anything at the old HEAD's content?) now runs first.

Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com Entire-Checkpoint: 01M3W7DVMTPH19AZY33AB302Z7

Checkpoints

Track Subagent Work Across Worktrees

Claude CodeOpus 5.5[1m]
View session
Checkpoint 1