problem viewing git.git with gitk on cygwin

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

problem viewing git.git with gitk on cygwin

From: Ray Lehtiniemi <hidden>
Date: 2016-06-15 22:43:21


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

Re: problem viewing git.git with gitk on cygwin

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:43:21

Ray Lehtiniemi [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help