Skip to content

Commit 77e7aab

Browse files
committed
gitk: fix a 'continue' statement outside a loop to 'return'
When 5de460a (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>
1 parent c435c51 commit 77e7aab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8296,7 +8296,7 @@ proc parseblobdiffline {ids line} {
82968296
if {![regexp {^diff (--cc|--git) } $line m type]} {
82978297
set line [convertfrom utf-8 $line]
82988298
$ctext insert end "$line\n" hunksep
8299-
continue
8299+
return
83008300
}
83018301
# start of a new file
83028302
set diffinhdr 1

0 commit comments

Comments
 (0)