git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Problem with gitk on cygwin

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 30, 2007, 05:25 UTC
Message-ID
<20070330052533.GQ13247@spearce.org>
In-Reply-To
<000001c771ec$12729c30$0b0aa8c0@abf.local>
Raimund Bauer <ray007@gmx.net> wrote:
Show 16 quoted lines
> 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.
Previous: Raimund BauerNext: Raimund Bauer
Message 2 of 3 in “Problem with gitk on cygwin”
  1. Raimund BauerMar 29, 2007
  2. Shawn O. PearceMar 30, 2007
  3. Raimund BauerMar 30, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.