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>
Johannes Sixt committed
Nov 6, 2025 at 09:20 UTC
77e7aab693daee402ef37323715207c5a2daec9f
1 file changed
+1
-1
gitk
+1
-1
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