Erik Cervin-Edin reported that with core.fsmonitor enabled on Linux, renaming a directory that contains a subdirectory and then editing one file in each leaves one edit out of git status. His recipe uses git mv, a commit, and edits to new/pkg/top.txt and new/pkg/sub/f.txt. He expected both files to be listed as modified.

Nicolas Riebesel confirmed the problem on released Git 2.56.0 (NixOS, x86_64, with core.fsmonitor set globally). His smaller reproduction renames old to new, where old has a top-level file and one subdirectory. Only "M new/top.txt" is listed. The fsmonitor trace shows the subdirectory edit reported as 'old/sub/f.txt'. With core.fsmonitor=false, both files are listed.

Riebesel said the bug had also affected him in practice. Cervin-Edin separately noted that he considers core.fsmonitor=false a sane default and turns it on only when needed, and he quoted the git-update-index documentation on large repositories.

No maintainer has responded yet and no fix has been proposed. The symptom, a path reported under the pre-rename name, suggests the daemon is not updating its view of directories beneath a renamed one. The excerpts do not establish that cause.