Re: Problem with gitk on cygwin
From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:43:02
Raimund Bauer [off-list ref] wrote:
When trying to use gitk from current cygwin-install, I get an error-dialog
and no gitk-window.
Error title: "Error in startup script"
Error message:
--------------------------------
.git
8 [main] git 1620 tty_list::allocate: No tty allocated while executing
"exec git rev-parse --git-dir"
(procedure "gitdir" line 6)
invoked from within
"gitdir"
invoked from within
"set gitdir [gitdir]"
(file "/usr/bin/gitk" line 6270)
--------------------------------I have seen this failure before, and its usually a result of having your CYGWIN environment variable including 'notty': http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html Or maybe its the opposite. I don't have access to my Cygwin system right now, so I cannot check if I have notty, tty, or just ommitted it entirely from my CYGWIN environment varible. But I think that's the issue. -- Shawn.