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

Re: git-gui cannot find share/git-gui under cygwin

From
Mark Levedahl <mlevedahl@gmail.com>
Date
Jun 19, 2007, 18:41 UTC
Message-ID
<4678236A.9000606@gmail.com>
In-Reply-To
<20070619144928.GA8477@spearce.org>
Shawn O. Pearce wrote:
Show 5 quoted lines
> Yuck.  I'm considering applying the following.  It works ok on Mac
> OS X where the bug isn't triggered anyway.  ;-) I won't be able to
> test on Cygwin until tomorrow.
>
>   
sorry, no joy. The problem is that gitexecdir=/usr/bin, but...
/usr/bin is a Cygwin mount point that points at c:\cygwin\bin.
so...

$ cygpath -m -a /bin C:/cygwin/bin $ cygpath -m -a /usr C:/cygwin/usr $ cygpath -m -a /usr/bin C:/cygwin/bin $ cygpath -m -a /usr/share C:/cygwin/usr/share

and the result is that both exedir_SQ and libdir_SQ have the value /usr/share/git-gui-lib

I don't think there is a portable solution here. Maybe just say
    if test "$(uname_O)" = Cygwin; then \
        GITGUI_RELATIVE=; \
 
and be done with it.
Mark
Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 3 of 4 in “git-gui cannot find share/git-gui under cygwin”
  1. Mark LevedahlJun 19, 2007
  2. Shawn O. PearceJun 19, 2007
  3. Mark LevedahlJun 19, 2007
  4. Shawn O. PearceJun 21, 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.