Two fixes to prevent git pull --rebase from failing: 1. Skip hook execution during rebase operations by detecting .git/rebase-merge or .git/rebase-apply directories 2. Use --no-git-history flag to prevent git-history-backfill from writing to deletions.jsonl during imports The root cause was that post-checkout hooks were running during rebase, triggering the git-history-backfill which appends to deletions.jsonl. This created uncommitted changes that blocked the rebase from continuing. Bump hooks version to 0.26.0. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1.6 KiB
Executable File
1.6 KiB
Executable File