Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add the command 'diff-hl-ediff-current-hunk', bound to 'C-x v e' in
'diff-hl-mode-map' and 'e' in the show-hunk UI, that uses Ediff to compare
against the reference revision, jumping to the hunk nearest point.
diff-hl.el (diff-hl--use-git-index-base-p): New helper function.
(diff-hl-diff-against-reference, diff-hl-diff-buffer-with-reference): Use it.
(diff-hl--ediff-reference-buffer): New helper function.
(diff-hl-ediff-current-hunk): New command.
(diff-hl-command-map): Bind 'e' to 'diff-hl-ediff-current-hunk'.
(diff-hl-repeat-exceptions): Add 'diff-hl-ediff-current-hunk'.
diff-hl-show-hunk.el (diff-hl-show-hunk-ediff): New command.
(diff-hl-show-hunk-map): Bind it to 'e'.
diff-hl-show-hunk-inline.el (diff-hl-show-hunk-inline): Update footer text to
include Ediff keybinding.
diff-hl-show-hunk-posframe.el (diff-hl-show-hunk-posframe--header-line): Add
Ediff button to the posframe header line.