{"thread":{"id":"59835","subject":"BUG: fsmonitor.c:21: fsmonitor_dirty has more entries than the index","startedAt":"2023-06-03T18:18:40Z","lastAt":"2023-06-04T04:38:10Z","messageCount":2,"participants":["Fedor Bocharov","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"478018","messageId":"2B864C9E-9693-49F2-AE50-CB56DE872AB9@jetbrains.com","threadId":"59835","inReplyTo":null,"subject":"BUG: fsmonitor.c:21: fsmonitor_dirty has more entries than the index","fromName":"Fedor Bocharov","fromEmail":"fedor.bocharov@jetbrains.com","sentAt":"2023-06-03T18:18:23Z","receivedAt":"2023-06-03T18:18:40Z","isPatch":false,"sender":{"key":"fedor.bocharov@jetbrains.com","avatar":null},"body":"Thank you for filling out a Git bug report!\nPlease answer the following questions to help us understand your issue.\n\nWhat did you do before the bug happened? (Steps to reproduce your issue)\n1. create commit in master (default branch)\n2. amend it\n3. send commit to the upstream via pull request\n4. after commit is merged into the upstream, execute `git pull --rebase=merges --ff --autostash`\n5. run git status\n\nWhat did you expect to happen? (Expected behavior)\nGit will print repository status\n\nWhat happened instead? (Actual behavior)\nBUG: fsmonitor.c:21: fsmonitor_dirty has more entries than the index (547842 > 54)\nerror: git died of signal 6\n\nWhat's different between what you expected and what actually happened?\nI don't expect git to come into broken state after executing ordinary commands.\n\nAnything else you want to add:\nI have this options set in the config:\ncore.fsmonitor=true\ncore.repositoryformatversion=0\ncore.filemode=true\ncore.bare=false\ncore.logallrefupdates=true\ncore.ignorecase=true\ncore.precomposeunicode=true\ncore.fsmonitor=true\ncore.fscache=false\ncore.preloadindex=true\ncore.multipackindex=true\ncore.splitindex=true\ncore.untrackedcache=true\nsubmodule.active=.\nbranch.master.remote=origin\nbranch.master.merge=refs/heads/master\nstatus.showuntrackedfiles=all\n\nPlease review the rest of the bug report below.\nYou can delete any lines you don't wish to share.\n\n\n[System Info]\ngit version:\ngit version 2.39.1\ncpu: arm64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nfeature: fsmonitor--daemon\nuname: 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\ncompiler info: clang: 14.0.0 (clang-1400.0.29.202)\nlibc info: no libc information available\n$SHELL (typically, interactive shell): /bin/zsh\n\n\n[Enabled Hooks]\n\n"},{"id":"478021","messageId":"xmqqbkhv6dw3.fsf@gitster.g","threadId":"59835","inReplyTo":"2B864C9E-9693-49F2-AE50-CB56DE872AB9@jetbrains.com","subject":"Re: BUG: fsmonitor.c:21: fsmonitor_dirty has more entries than the index","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2023-06-04T04:38:04Z","receivedAt":"2023-06-04T04:38:10Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Fedor Bocharov <fedor.bocharov@jetbrains.com> writes:\n\n> Anything else you want to add:\n> I have this options set in the config:\n> core.fsmonitor=true\n> core.splitindex=true\n> ...\n> feature: fsmonitor--daemon\n> 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\n\nI wonder if this is similar to what the topic that includes 3704fed5\n(split-index & fsmonitor: demonstrate a bug, 2023-03-26) [*] addressed.\n\nThe fix appeared in Git 2.41-rc0 and above.\n\n\n[References]\n\n* https://lore.kernel.org/git/pull.1497.v2.git.1679870743.gitgitgadget@gmail.com/\n"}]}