Skip to content

diff-hl-show-hunk* doesn't work correctly with jj #250

@gessen

Description

@gessen

Most diff-hl commands work with vc-jj out of the box, e.g. diff-hl-diff-goto-hunk or diff-hl-next-hunk, however, the family of diff-hl-show-hunk* functions do not. The message says "No next hunk" or "There is no next change". This is probably because diff-hl compares with the @ revision (current revision) rather than @-. If I modify diff-hl-reference-revision from nil to "@-", showing hunk with JJ seems to work correctly.

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