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

Re: [PATCH] Do not trust PWD blindly

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 10, 2011, 22:59 UTC
Message-ID
<alpine.DEB.1.00.1107110057120.3379@bonsai2>
In-Reply-To
<4E1A0FCC.7080308@kdbg.org>
Hi,
On Sun, 10 Jul 2011, Johannes Sixt wrote:
Show 5 quoted lines
> Am 09.07.2011 19:38, schrieb Johannes Schindelin:
> > 
> > At least on Windows, chdir() does not update PWD.
> 
> Very strange wording. chdir() should not update PWD even on POSIX.

Well, you might think it is strange wording. But then, it expresses exactly what I meant it to say. chdir() does not update PWD on Windows.

You might be very surprised, but that is not true on the Linux system where one of the 4msysgit.git test cases does _not_ break, while it does on Windows.

I hoped to make that clear with the wording, but apparently I failed rather blatantly.

All the more surprising do I find that:
> Acked-by: Johannes Sixt <j6t@kdbg.org>

Ciao, Johannes

Previous: Johannes SixtNext: Randal L. Schwartz
Message 4 of 8 in “Do not trust PWD blindly”
  1. Do not trust PWD blindlyJohannes Schindelin, Jul 9, 2011
  2. Sebastian SchuberthJul 9, 2011
  3. Johannes SixtJul 10, 2011
  4. Johannes SchindelinJul 10, 2011
  5. Randal L. SchwartzJul 11, 2011
  6. Johannes SchindelinJul 11, 2011
  7. Junio C HamanoJul 11, 2011
  8. Johannes SchindelinJul 11, 2011

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.