Skip to content

diff-hl-show-hunk-next tell "There is no next change", but, diff-hl-next-hunk can jump to it. #175

Open
@zw963

Description

@zw963

I don't know which command is work correct, but if one work correct, i guess another one must be incorrect.

Following is a reproduce:

  1. we assume a Gemfile exists some different.
    image

  2. restart emacs as daemon, and open Gemfile use emacs client

  3. switch to beginning of buffer.

  4. Both C-x v ] and C-x v } can jump to the difference as expect.

  5. run git add Gemfie on command line

  6. C-x v ] can jump, but C-x v } not jump, message: There is no next change
    Question 1: which command is correct?

When i set (setq diff-hl-show-staged-changes nil), not jump is correct, right?

  1. run git reset on command line

  2. behavior same as 6, in this case, jump is correct, right?

I assume diff-hl check the git operation from command line is not so easy, e.g. when i do staging from command line successful, i still see the fringe indicate exists diff on this line.

image

image

though, that maybe another issue,

but, this issue focus on above two command should not behavior different in this case.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions