]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: show unescaped file names on 'rename' and 'copy' lines
authorJohannes Sixt <j6t@kdbg.org>
Thu, 6 Nov 2025 09:42:37 +0000 (10:42 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Thu, 6 Nov 2025 09:59:02 +0000 (10:59 +0100)
commitd445a78873423c55b79f97361a082272acd17f7b
tree63b36343b8572b102a8e18d9b4c15e33c08eb1d2
parent77e7aab693daee402ef37323715207c5a2daec9f
gitk: show unescaped file names on 'rename' and 'copy' lines

When a file is selected in the file list, the diff window scrolls to the
corresponding section. The administrative data needed for this purpose
is extracted from the 'rename from', 'rename to', and 'copy to' lines.
Escaped file names are unescaped for this purpose. However, the lines
shown in the diff window are left in the escaped form. This is not very
pleasing. Replace the escaped form by the unescaped form.

Add a section to treat the 'copy from' case.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
gitk