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

Re: [PATCH] status: add a failing test showing a core.untrackedCache bug

From
Duy Nguyen <pclouds@gmail.com>
Date
Dec 25, 2017, 11:26 UTC
Message-ID
<CACsJy8B1FNpq-AYJdcs_gVOxdPSnh-kNaeVykLSSDL1+EW9YjA@mail.gmail.com>
In-Reply-To
<20171222140032.21180-1-avarab@gmail.com>

On Fri, Dec 22, 2017 at 9:00 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

Show 5 quoted lines
> The untracked cache gets confused when a directory is swapped out for
> a symlink to another directory. Whatever files are inside the target
> of the symlink will be incorrectly shown as untracked. This issue does
> not happen if the symlink links to another file, only if it links to
> another directory.

Sounds about right (I completely forgot about dir symlinks). Since I've been away for some time and have not caught up (probably cannot) with the mailing list yet, is anyone working on this? It may be easiest to just detect symlinksand disable the cache for now.

-- 
Duy
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 2 of 12 in “status: add a failing test showing a core.untrackedCache bug”
  1. status: add a failing test showing a core.untrackedCache bugÆvar Arnfjörð Bjarmason, Dec 22, 2017
  2. Duy NguyenDec 25, 2017
  3. Ævar Arnfjörð BjarmasonDec 25, 2017
  4. Duy NguyenDec 26, 2017
  5. Duy NguyenDec 27, 2017
  6. 3/1 update-index doc: note a fixed bug in the untracked cacheÆvar Arnfjörð Bjarmason, Dec 27, 2017
  7. Junio C HamanoDec 27, 2017
  8. Eric SunshineDec 27, 2017
  9. Junio C HamanoDec 27, 2017
  10. Ævar Arnfjörð BjarmasonDec 27, 2017
  11. Duy NguyenDec 28, 2017
  12. Junio C HamanoDec 28, 2017

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.