gitk: Fix bug where editing an existing view would cause an infinite loop
[gitweb.git] / gitk
diff --git a/gitk b/gitk
index c707c3c1048bfe286a49846b5dcb6835dfacbc55..322ac93f86f8520310e2477ffc18f67047bf1221 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -263,6 +263,7 @@ proc reloadcommits {} {
     catch {unset targetid}
     setcanvscroll
     getcommits
+    return 0
 }
 
 # This makes a string representation of a positive integer which