Description
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:
-
restart emacs as daemon, and open Gemfile use emacs client
-
switch to beginning of buffer.
-
Both
C-x v ]
andC-x v }
can jump to the difference as expect. -
run
git add Gemfie
on command line -
C-x v ]
can jump, butC-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?
-
run
git reset
on command line -
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.
though, that maybe another issue,
but, this issue focus on above two command should not behavior different in this case.
Thank you.