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

Re: core.fsmonitor always perform rescans

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 30, 2018, 10:28 UTC
Message-ID
<nycvar.QRO.7.76.6.1803301226400.5026@qfpub.tvgsbejvaqbjf.bet>
In-Reply-To
<CANqewP332-+esYWDPBtPif==wnb4PiNd89R1qTZsuWZAFSV0ew@mail.gmail.com>
Hi,
On Mon, 26 Mar 2018, Tatsuyuki Ishi wrote:
Show 12 quoted lines
> I'm facing issue with core.fsmonitor.
> 
> I'm currently using the provided watchman hook, but it doesn't seem to
> record the fact that it has queried the fsmonitor backend, and as a
> result the timestamp passed to the hook doesn't seem to change.
> 
> As it always pass a timestamp before watchman has crawled the
> directories, watchman will always return all files inside the
> directory. This happens everytime I run a git command, resulting in
> slowness.
> 
> Is the timestamp not being updated an intended behavior, or is this a bug?

There are some bug fixes pending, and IIRC Alex was even working on some more patches that are in an intermediate stage. Alex, could you share them with us (even in their unfinished state, maybe others can help)?

Ciao, Johannes

Previous: Tatsuyuki IshiNext: Ben Peart
Message 2 of 4 in “core.fsmonitor always perform rescans”
  1. Tatsuyuki IshiMar 26, 2018
  2. Johannes SchindelinMar 30, 2018
  3. Ben PeartApr 10, 2018
  4. Tatsuyuki IshiApr 11, 2018

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.