{"thread":{"id":"9081","subject":"[PATCH] gitk - Ignore ctrl-z as EOF on windows","startedAt":"2007-07-17T22:42:04Z","lastAt":"2007-07-17T22:42:04Z","messageCount":1,"participants":["Mark Levedahl"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"47680","messageId":"11847121241814-git-send-email-mdl123@verizon.net","threadId":"9081","inReplyTo":null,"subject":"[PATCH] gitk - Ignore ctrl-z as EOF on windows","fromName":"Mark Levedahl","fromEmail":"mdl123@verizon.net","sentAt":"2007-07-17T22:42:04Z","receivedAt":"2007-07-17T22:42:04Z","isPatch":true,"sender":{"key":"mdl123@verizon.net","avatar":"https://avatars.githubusercontent.com/u/5302462?v=4"},"body":"Cygwin's Tcl is configured to honor any occurence of ctrl-z as an\nend-of-file marker, while some commits in the git repository and possibly\nelsewhere include that character in the commit comment. This causes gitk\nignore commit history following such a comment and incorrect graphs. This\nchange affects only Windows as Tcl on other platforms already has\neofchar == {}. This fixes problems noted by me and by Ray Lehtiniemi, and\nthe fix was suggested by Shawn Pierce.\n\nSigned-off-by: Mark Levedahl <mdl123@verizon.net>\n---\n gitk |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/gitk b/gitk\nindex 39e452a..238607e 100755\n--- a/gitk\n+++ b/gitk\n@@ -101,7 +101,7 @@ proc start_rev_list {view} {\n     set commfd($view) $fd\n     set leftover($view) {}\n     set lookingforhead $showlocalchanges\n-    fconfigure $fd -blocking 0 -translation lf\n+    fconfigure $fd -blocking 0 -translation lf -eofchar {}\n     if {$tclencoding != {}} {\n \tfconfigure $fd -encoding $tclencoding\n     }\n-- \n1.5.3.rc2.5.g66bbd\n"}]}