From: Johannes Sixt Date: Thu, 6 Nov 2025 08:20:41 +0000 (+0100) Subject: gitk: fix a 'continue' statement outside a loop to 'return' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77e7aab693daee402ef37323715207c5a2daec9f;p=thirdparty%2Fgit.git 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 --- 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