kakoune/test/tools/git/blame-in-diff
Johannes Altmanninger 5f0729f155 rc tools git: fix initial position of blame of deleted line
When running git blame in a "git show" buffer, we annotate the youngest
version of the file that has the line referenced by the diff line
at cursor.
In case the cursor is on an added or context line, we simply show
the version from the surrounding commit.

When the cursor is on a deleted line, we show the parent commit,
which still has the deleted line.  However there is a bug: we use
the line number in the new version of the file. Fix that.
2024-02-18 10:15:03 +11:00
..
cmd rc tools git: fix initial position of blame of deleted line 2024-02-18 10:15:03 +11:00
enabled rc tools git: fix initial position of blame of deleted line 2024-02-18 10:15:03 +11:00
env rc tools git: fix initial position of blame of deleted line 2024-02-18 10:15:03 +11:00
in rc tools git: fix initial position of blame of deleted line 2024-02-18 10:15:03 +11:00
kak_selection rc tools git: fix initial position of blame of deleted line 2024-02-18 10:15:03 +11:00
rc rc tools git: fix initial position of blame of deleted line 2024-02-18 10:15:03 +11:00
script rc tools git: fix initial position of blame of deleted line 2024-02-18 10:15:03 +11:00