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

Re: Bug: fsmonitor--daemon doesn't pick up submodule changes

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 2, 2022, 13:28 UTC
Message-ID
<nycvar.QRO.7.76.6.2206021525430.349@tvgsbejvaqbjf.bet>
In-Reply-To
<CAN8jHOhn+tNn2cR7X_fPyyLF-ADiScD2gymKY9H2ZFb+UdkJSw@mail.gmail.com>
Hi Benedek,
On Tue, 31 May 2022, Benedek Kozma wrote:
Show 12 quoted lines
> 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@gmail.com/

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

Previous: Benedek KozmaNext: Benedek Kozma
Message 2 of 3 in “Bug: fsmonitor--daemon doesn't pick up submodule changes”
  1. Benedek KozmaMay 31, 2022
  2. Johannes SchindelinJun 2, 2022
  3. Benedek KozmaJun 6, 2022

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.