[PATCH] gitk: Ignore ctrl-z as EOF on windows
authorMark Levedahl <mdl123@verizon.net>
Tue, 17 Jul 2007 22:42:04 +0000 (18:42 -0400)
committerPaul Mackerras <paulus@samba.org>
Sun, 22 Jul 2007 12:25:46 +0000 (22:25 +1000)
commit86da5b6c978be1e64ec42c8b08e815a83f02493e
treec1786fdfe060b527f20f63a0ce1da788773b609c
parentef3192b8345ba73c1d7c86ed0a1f318f26d97dc6
[PATCH] gitk: Ignore ctrl-z as EOF on windows

Cygwin's Tcl is configured to honor any occurence of ctrl-z as an
end-of-file marker, while some commits in the git repository and possibly
elsewhere include that character in the commit comment. This causes gitk
ignore commit history following such a comment and incorrect graphs. This
change affects only Windows as Tcl on other platforms already has
eofchar == {}. This fixes problems noted by me and by Ray Lehtiniemi, and
the fix was suggested by Shawn Pierce.

Signed-off-by: Mark Levedahl <mdl123@verizon.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk