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

Re: [PATCH] Support diff.autorefreshindex=true in `git-diff --quiet'

From
KCKarl Chen <quarl@cs.berkeley.edu>
Date
Sep 2, 2008, 17:39 UTC
Message-ID
<quack.20080902T1039.lthabeqmopo_-_@roar.cs.berkeley.edu>
In-Reply-To
<7vy72bnk5x.fsf_-_@gitster.siamese.dyndns.org>
>>>>> On 2008-09-01 23:20 PDT, Junio C Hamano writes:
    Junio> Looking at your patch and thinking about the issue very
    Junio> much tempt me to suggest the attached patch which is at
    Junio> the other extreme of the spectrum.

I think it is the extreme at the same end of the spectrum and I like it. (I was tempted to do this but thought there was a reason those options were ignored by --quiet.) This is good because it makes --quiet do what one thinks it does, and what's documented, with no exceptions (i.e. equivalent to --exit-code > /dev/null).

If anyone actually used the old behavior of ignoring diff.autorefreshindex (as an optimization, because the script ran update-index --refresh outside a loop), there could be a --quick option, or they could use git-diff-files.

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 8 in “Support diff.autorefreshindex=true in `git-diff --quiet'”
  1. Support diff.autorefreshindex=true in `git-diff --quiet'Karl Chen, Sep 1, 2008
  2. Junio C HamanoSep 1, 2008
  3. Karl ChenSep 1, 2008
  4. Re* [PATCH] Support diff.autorefreshindex=true in `git-diff --quiet'Junio C Hamano, Sep 2, 2008
  5. Karl ChenSep 2, 2008
  6. Junio C HamanoSep 2, 2008
  7. Karl ChenSep 2, 2008
  8. Junio C HamanoSep 2, 2008

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.