diff options
| author | Johannes Sixt <j6t@kdbg.org> | 2025-11-06 09:20:41 +0100 |
|---|---|---|
| committer | Johannes Sixt <j6t@kdbg.org> | 2025-11-06 10:59:02 +0100 |
| commit | 77e7aab693daee402ef37323715207c5a2daec9f (patch) | |
| tree | 4e145b9675d6473752a519880c2ff6af3f0ccd77 | |
| parent | c435c515dad872532705d45d9ff81d3f4af22d6d (diff) | |
| download | git-77e7aab693daee402ef37323715207c5a2daec9f.tar.gz | |
gitk: fix a 'continue' statement outside a loop to 'return'
When 5de460a2cfdd (gitk: Refactor per-line part of getblobdiffline and
its support) moved the body of a loop into a separate function, several
'continue' statements were changed to 'return'. But one instance was
missed. Fix it now.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
| -rwxr-xr-x | gitk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8296,7 +8296,7 @@ proc parseblobdiffline {ids line} { if {![regexp {^diff (--cc|--git) } $line m type]} { set line [convertfrom utf-8 $line] $ctext insert end "$line\n" hunksep - continue + return } # start of a new file set diffinhdr 1 |
