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

Re: Troubles when directory is replaced by symlink

From
JPJames Pickens <jepicken@gmail.com>
Date
Jun 24, 2009, 22:07 UTC
Message-ID
<885649360906241507r6ac78495s802f8b7758bcabf9@mail.gmail.com>
In-Reply-To
<861vpmkhob.fsf@broadpark.no>
On Sun, Jun 14, 2009, Kjetil Barvik<barvik@broadpark.no> wrote:
> From: Kjetil Barvik <barvik@broadpark.no>
> Date: Sun, 14 Jun 2009 15:08:28 +0200
> Subject: [PATCH] lstat_cache: guard against full match of length of 'name' parameter

My project ran into this bug today, and I can confirm that this patch fixes it. I think it's an important bug; it hasn't been mentioned yet, but this can result in lost work if the user had modified, but not added, one of the files that Git wrongly deleted.

So, what's the status of this patch?
James
Previous: Kjetil BarvikNext: Kjetil Barvik
Message 6 of 9 in “Troubles when directory is replaced by symlink”
  1. Alexander GladyshJun 5, 2009
  2. Alexander GladyshJun 9, 2009
  3. Jeff KingJun 11, 2009
  4. Kjetil BarvikJun 11, 2009
  5. Kjetil BarvikJun 14, 2009
  6. James PickensJun 24, 2009
  7. Kjetil BarvikJun 25, 2009
  8. Kjetil BarvikJun 26, 2009
  9. Johannes SixtJun 26, 2009

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.