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

Re: git-diff: unable to turn off diff.autorefreshindex with command line switch

From
ASAndrew Stewart <boss@airbladesoftware.com>
Date
Jan 22, 2016, 14:12 UTC
Message-ID
<5BAA7C36-0059-4F0B-96B6-7B6E66D7C315@airbladesoftware.com>
In-Reply-To
<20160121213801.GB6664@sigill.intra.peff.net>
Show 6 quoted lines
> On 21 Jan 2016, at 9:38 pm, Jeff King <peff@peff.net> wrote:
> But note that your whole test is going to be racy, and possibly depend
> on the resolution of your filesystem's timestamps. Did you run your test
> as a single script, where the initial index write and the `touch` may
> happen in the same second? If so, trying running it slowly by hand,
> or inserting "sleep 1" between the commands.
I ran my tests by hand, taking more than 1s between commands.
I also used `stat README` and `ls -l README` on occasion to confirm that `touch` was updating the file's timestamps.
-- Andrew Stewart
Previous: Jeff King
Message 3 of 3 in “git-diff: unable to turn off diff.autorefreshindex with command line switch”
  1. Andrew StewartJan 21, 2016
  2. Jeff KingJan 21, 2016
  3. Andrew StewartJan 22, 2016

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.