aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2025-11-06 09:20:41 +0100
committerJohannes Sixt <j6t@kdbg.org>2025-11-06 10:59:02 +0100
commit77e7aab693daee402ef37323715207c5a2daec9f (patch)
tree4e145b9675d6473752a519880c2ff6af3f0ccd77
parentc435c515dad872532705d45d9ff81d3f4af22d6d (diff)
downloadgit-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-xgitk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitk b/gitk
index c02db0194d..eb657aa1e4 100755
--- a/gitk
+++ b/gitk
@@ -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