summaryrefslogtreecommitdiff
path: root/test/normal/repeat-insert/repeat-normal-exec/cmd
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2024-02-12 10:30:28 +0100
committerMaxime Coste <mawww@kakoune.org>2024-02-18 10:15:03 +1100
commit5f0729f1550a5874961cb83bef6d9e8c6974c808 (patch)
treea1f35535f7e9268cc7790563c0f64a9dc87dc1cf /test/normal/repeat-insert/repeat-normal-exec/cmd
parent22b1d4ec4a3d2ae6a31f2395b43a209fc4d54653 (diff)
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.
Diffstat (limited to 'test/normal/repeat-insert/repeat-normal-exec/cmd')
0 files changed, 0 insertions, 0 deletions