Re: problem viewing git.git with gitk on cygwin
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Jul 17, 2007, 03:14 UTC
- Message-ID
- <20070717031448.GI32566@spearce.org>
- In-Reply-To
- <200707161330.36907.rayl@mail.com>
Ray Lehtiniemi <rayl@mail.com> wrote:
Show 8 quoted lines
> i'm seeing a problem with gitk on cygwin. if i try and view the history of > git itself, it seems to stop at version 22dcbb. interestingly, the next > commit 3ef378 has an embedded CTRL-Z character in the commit message. > > possible DOS EOF handling bug? or is there a repo setting i need to be > tweaking? > > using git version 1.5.2.2, installed using the cygwin package setup tool.
Not Git's fault; Tcl on Cygwin honors EOF. Because nobody would ever put that byte into a data stream. ;-)
Looks like gitk needs to add -eofchar {} to an fconfigure command before it reads data from Git. Otherwise on Windows systems it just stops reading. I better do the same to git-gui. *sigh*
-- Shawn.