Skip to content

Restore operation state to linked worktrees#888

Closed
xenyal wants to merge 1 commit into
sds:mainfrom
xenyal:fix/worktree-state-paths
Closed

Restore operation state to linked worktrees#888
xenyal wants to merge 1 commit into
sds:mainfrom
xenyal:fix/worktree-state-paths

Conversation

@xenyal

@xenyal xenyal commented Jul 24, 2026

Copy link
Copy Markdown

Fix merge/cherry-pick state restoration in linked worktrees.

  • Resolve operation files through git rev-parse --git-path
  • Preserve merge state contents
  • Add linked-worktree regression coverage

Test: bundle exec rspec spec/overcommit/git_repo_spec.rb

Resolve merge and cherry-pick state paths relative to the active worktree
while keeping shared hook discovery on the common Git directory.

Co-Authored-By: Codex Opus 4.6 <noreply@anthropic.com>
@xenyal xenyal closed this Jul 24, 2026
@xenyal
xenyal deleted the fix/worktree-state-paths branch July 24, 2026 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant