summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ef3192b)
raw | patch | inline | side by side (parent: ef3192b)
author | Mark Levedahl <mdl123@verizon.net> | |
Tue, 17 Jul 2007 22:42:04 +0000 (18:42 -0400) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sun, 22 Jul 2007 12:25:46 +0000 (22:25 +1000) |
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>
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 | patch | blob | history |
index 995833fa52cd187de22f6b415d70892f0697ba64..d6f62b2a0f72504dc63e537bd24931737b9647f8 100755 (executable)
--- a/gitk
+++ b/gitk
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
}