# problem viewing git.git with gitk on cygwin

2 messages from 2007-07-16 to 2007-07-17. Participants: Ray Lehtiniemi, Shawn O. Pearce.
Thread: https://gitlist.dev/t/9065

## Ray Lehtiniemi, 2007-07-16 19:30

Subject: problem viewing git.git with gitk on cygwin
Message-ID: <200707161330.36907.rayl@mail.com>
URL: https://gitlist.dev/e/200707161330.36907.rayl%40mail.com

```


hi all

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.

thanks
ray

```

## Shawn O. Pearce, 2007-07-17 03:14

Subject: Re: problem viewing git.git with gitk on cygwin
Message-ID: <20070717031448.GI32566@spearce.org>
URL: https://gitlist.dev/e/20070717031448.GI32566%40spearce.org
In-Reply-To: <200707161330.36907.rayl@mail.com>

```
Ray Lehtiniemi <rayl@mail.com> wrote:
> 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.

```
