Skip to content

fix: show newer commits on detached head - #3024

Open
BreezeDelegate wants to merge 1 commit into
gitui-org:masterfrom
BreezeDelegate:fix/detached-head-log-tip
Open

fix: show newer commits on detached head#3024
BreezeDelegate wants to merge 1 commit into
gitui-org:masterfrom
BreezeDelegate:fix/detached-head-log-tip

Conversation

@BreezeDelegate

Copy link
Copy Markdown

When HEAD is detached, start both log walkers from a local branch tip that descends from HEAD so newer commits on that branch remain visible.

Adds regression coverage for both the git2 and gix walkers.

Fixes #1964

Tests:

  • cargo fmt --all -- --check
  • cargo test -p asyncgit --locked
  • cargo clippy -p asyncgit --lib --locked -- -D warnings

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.

show newer commits if on detached head

1 participant