Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: git/git
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2b53e8b3ee7f143af785e2a39ce4e1614ff6c66e
Choose a base ref
...
head repository: git/git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8cafc305e22a59efb92472d4132616e24d3184c6
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 9, 2026

  1. add -p: show user's hunk decision when selecting hunks

    When a user is interactively deciding which hunks to use or skip for
    staging, unstaging, stashing etc, there is no way to know the
    decision previously chosen for a hunk when navigating through the
    previous and next hunks using K/J respectively.
    
    Improve the UI to explicitly show if a user has previously decided to
    use a hunk (by pressing 'y') or skip the hunk (by pressing 'n').
    This will improve clarity when and aid the navigation process for the
    user.
    
    Reported-by: Junio C Hamano <gitster@pobox.com>
    Signed-off-by: Abraham Samuel Adekunle <abrahamadekunle50@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    devdekunle authored and gitster committed Jan 9, 2026
    Configuration menu
    Copy the full SHA
    8cafc30 View commit details
    Browse the repository at this point in the history
Loading