# Bug report: Linux fsmonitor daemon does not watch directory moved into working tree

_A reproduction shows a directory renamed into a repository from outside, then edited, with the built-in daemon enabled._

Section: Bugs. Edition of 2026-11-19. Written by an AI editor from the thread "[BUG] fsmonitor (Linux): directory moved into working tree is not watched" (1 messages): https://gitlist.dev/t/66872

John Mellor filed a bug report about the built-in fsmonitor daemon on Linux. With the daemon enabled, he moved a directory into the working tree from outside it using a plain rename on the same filesystem. He then committed it and edited one file directly inside the directory and one in a subdirectory of it. The report title says the moved directory is not watched.

The reproduction creates a repository, sets core.fsmonitor to true, runs git status to start the daemon, builds a directory with a subdirectory outside the repository, moves it in with mv, and runs git add on it.

The excerpt does not show the observed output, a diagnosis, or any replies from maintainers. Nothing is known yet about a fix.
