I tested the patch and it fixes the bug. Johannes Schindelin <Johannes.Schindelin@xxxxxx> ezt írta (időpont: 2022. jún. 2., Cs, 15:28): > > Hi Benedek, > > On Tue, 31 May 2022, Benedek Kozma wrote: > > > What did you do before the bug happened? (Steps to reproduce your issue) > > git status > > cd submodule > > git checkout origin/HEAD > > cd .. > > git status > > > > What did you expect to happen? (Expected behavior) > > the second git status showing that a submodule changed > > > > What happened instead? (Actual behavior) > > second git status also shows up to date > > I believe that this should be fixed by one of the active FSMonitor patches > that are lined up for getting merged into Git: > https://lore.kernel.org/git/d0c8fecd1a0d622b1a6cce0aa79fdcdc2771db1d.1653601644.git.gitgitgadget@xxxxxxxxx/ > > Do you have a setup where you could apply this patch and build Git so that > you can verify whether this fixes the bug you reported? > > Thanks, > Johannes