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

Re: BUG: fsmonitor.c:21: fsmonitor_dirty has more entries than the index

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 4, 2023, 04:38 UTC
Message-ID
<xmqqbkhv6dw3.fsf@gitster.g>
In-Reply-To
<2B864C9E-9693-49F2-AE50-CB56DE872AB9@jetbrains.com>
Fedor Bocharov <fedor.bocharov@jetbrains.com> writes:
Show 7 quoted lines
> Anything else you want to add:
> I have this options set in the config:
> core.fsmonitor=true
> core.splitindex=true
> ...
> feature: fsmonitor--daemon
> uname: Darwin 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 arm64

I wonder if this is similar to what the topic that includes 3704fed5 (split-index & fsmonitor: demonstrate a bug, 2023-03-26) [*] addressed.

The fix appeared in Git 2.41-rc0 and above.
[References]
* https://lore.kernel.org/git/pull.1497.v2.git.1679870743.gitgitgadget@gmail.com/
Previous: Fedor Bocharov
Message 2 of 2 in “BUG: fsmonitor.c:21: fsmonitor_dirty has more entries than the index”
  1. Fedor BocharovJun 3, 2023
  2. Junio C HamanoJun 4, 2023

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.