Skip to content

fix: checkout out commits fails during bisect#5158

Closed
majiayu000 wants to merge 1 commit intojesseduffield:masterfrom
majiayu000:fix-5105-checkout-out-commits-fails-dur-0102-0050
Closed

fix: checkout out commits fails during bisect#5158
majiayu000 wants to merge 1 commit intojesseduffield:masterfrom
majiayu000:fix-5105-checkout-out-commits-fails-dur-0102-0050

Conversation

@majiayu000
Copy link
Copy Markdown

Fixes #5105

Changes

  • Track actual HEAD hash separately from bisect expected commit (BISECT_EXPECTED_REV)
  • Show "YOU ARE HERE" marker when user manually checks out a different commit during bisect
  • Add integration test for checkout during bisect

During bisect, when users manually checkout a different commit, the
bisect 'current' indicator would stay on the bisect-expected commit
making it appear as if checkout failed. This fix adds a 'YOU ARE HERE'
indicator to show the actual HEAD position when it differs from the
bisect expected commit, providing clarity about where the user is.

Signed-off-by: majiayu000 <1835304752@qq.com>
@majiayu000
Copy link
Copy Markdown
Author

Closing this PR due to extended inactivity. Happy to reopen if there's still interest — feel free to comment.

@majiayu000 majiayu000 closed this Mar 20, 2026
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.

checkout commits fails during bisect

1 participant