[PATCH] gitk: Ignore ctrl-z as EOF on windows
[gitweb.git] / gitk
diff --git a/gitk b/gitk
index 995833fa52cd187de22f6b415d70892f0697ba64..d6f62b2a0f72504dc63e537bd24931737b9647f8 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -101,7 +101,7 @@ proc start_rev_list {view} {
     set commfd($view) $fd
     set leftover($view) {}
     set lookingforhead $showlocalchanges
-    fconfigure $fd -blocking 0 -translation lf
+    fconfigure $fd -blocking 0 -translation lf -eofchar {}
     if {$tclencoding != {}} {
        fconfigure $fd -encoding $tclencoding
     }