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

Re: git-sh-setup.sh:cd_to_toplevel problematic with symlinks

From
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Date
Aug 7, 2007, 12:45 UTC
Message-ID
<20070807124526.GA11230@informatik.uni-freiburg.de>
In-Reply-To
<20070807101155.GA19233@moooo.ath.cx>
Hello Matthias,
Matthias Lederhofer wrote:
> Your mail did not make it to the list, therefore I quote the full
> mail.
Ops, thanks.
Show 5 quoted lines
> Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> wrote:
> > > Is there any way to tell cd to ignore $PWD?
> > cd -P ... does the trick.  IIRC it's in SUSv3, but once more, Solaris
> > /bin/sh doesn't know about that option:
> > 
[...]
> 
> Do we care about that shell?  There was another thread about shell
> script cleanup where the default sun /bin/sh doesn't support some
> other features from the git shell scripts too.
Ah, I see, Makefile defines SHELL_PATH for SunOS to /bin/bash anyhow.

OK, then maybe just use it and if it breaks for someone we will notice it ...

Best regards Uwe

-- 
Uwe Kleine-König

http://www.google.com/search?q=12+mol+in+dozen
Previous: Matthias Lederhofer
Message 3 of 3 in “git-sh-setup.sh:cd_to_toplevel problematic with symlinks”
  1. Matthias LederhoferAug 6, 2007
  2. Matthias LederhoferAug 7, 2007
  3. Uwe Kleine-KönigAug 7, 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.