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

Re: What's cooking in git.git (Jan 2018, #04; Wed, 31)

From
Duy Nguyen <pclouds@gmail.com>
Date
Feb 10, 2018, 10:09 UTC
Message-ID
<CACsJy8BeQ3mD9pReUZKi+=qio5z8an5RyVd=auxPnMZ3uCRhdQ@mail.gmail.com>
In-Reply-To
<87372am2ls.fsf@evledraar.gmail.com>

On Sat, Feb 10, 2018 at 1:37 AM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

Show 17 quoted lines
>
> On Thu, Feb 01 2018, Junio C. Hamano jotted:
>
>> * nd/fix-untracked-cache-invalidation (2018-01-24) 5 commits
>>  - dir.c: stop ignoring opendir() error in open_cached_dir()
>>  - update-index doc: note a fixed bug in the untracked cache
>>  - dir.c: fix missing dir invalidation in untracked code
>>  - dir.c: avoid stat() in valid_cached_dir()
>>  - status: add a failing test showing a core.untrackedCache bug
>>
>>  Some bugs around "untracked cache" feature have been fixed.
>>
>>  Will merge to 'next'.
>
> I think you / Nguyễn may not have seen my
> <87d11omi2o.fsf@evledraar.gmail.com>
> (https://public-inbox.org/git/87d11omi2o.fsf@evledraar.gmail.com/)

I have. But since you wrote "I haven't found... yet", I assumed you were still on it. You didn't give me much info to follow anyway.

Show 5 quoted lines
> As noted there I think it's best to proceed without the "dir.c: stop
> ignoring opendir[...]" patch.
>
> It's going to be a bad regression in 2.17 if it ends up spewing pagefuls
> of warnings in previously working repos if the UC is on.

"previously working" is a strong word when opendir() starts to complain. Sure we can suppress/ignore the error messages but I don't think it's a healthy attitude. Unreported bugs can't be fixed.

We could perhaps stop reporting after we have printed like ... 5 lines or so? That keeps the noise level down a bit and probably still give enough indicator to at least repair the cache.

-- 
Duy
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 20 of 22 in “What's cooking in git.git (Jan 2018, #04; Wed, 31)”
  1. Junio C HamanoFeb 1, 2018
  2. Ævar Arnfjörð BjarmasonFeb 1, 2018
  3. Junio C HamanoFeb 2, 2018
  4. Johannes SchindelinFeb 9, 2018
  5. Ævar Arnfjörð BjarmasonFeb 9, 2018
  6. Ævar Arnfjörð BjarmasonFeb 1, 2018
  7. Junio C HamanoFeb 2, 2018
  8. Ævar Arnfjörð BjarmasonFeb 2, 2018
  9. Ævar Arnfjörð BjarmasonFeb 9, 2018
  10. Junio C HamanoFeb 9, 2018
  11. 0/2 update-index doc: note new caveats in 2.17Ævar Arnfjörð Bjarmason, Feb 9, 2018
  12. 2/2 update-index doc: note the caveat with "could not open..."Ævar Arnfjörð Bjarmason, Feb 9, 2018
  13. 1/2 update-index doc: note a fixed bug in the untracked cacheÆvar Arnfjörð Bjarmason, Feb 9, 2018
  14. Junio C HamanoFeb 9, 2018
  15. Ævar Arnfjörð BjarmasonFeb 9, 2018
  16. Junio C HamanoFeb 9, 2018
  17. Ævar Arnfjörð BjarmasonFeb 9, 2018
  18. Junio C HamanoFeb 9, 2018
  19. Ævar Arnfjörð BjarmasonFeb 9, 2018
  20. Duy NguyenFeb 10, 2018
  21. Ævar Arnfjörð BjarmasonFeb 11, 2018
  22. Duy NguyenFeb 12, 2018

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.