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

Re: [PATCH] Skip timestamp differences for diff --no-index

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 18, 2009, 10:53 UTC
Message-ID
<alpine.DEB.1.00.0902181153050.6274@intel-tinevez-2-302>
In-Reply-To
<1234939686-14932-1-git-send-email-mspang@uwaterloo.ca>
Hi,
On Wed, 18 Feb 2009, Michael Spang wrote:
Show 12 quoted lines
> We display empty diffs for files whose timestamps have changed.
> Usually, refreshing the index makes those empty diffs go away.
> However, when not using the index they are not very useful and
> there is no option to suppress them.
> 
> This forces on the skip_stat_unmatch option for diff --no-index,
> suppressing any empty diffs. This option is also used for diffs
> against the index when "diff.autorefreshindex" is set, but that
> option does not apply to diff --no-index.
> 
> Signed-off-by: Michael Spang <mspang@uwaterloo.ca>
> ---
Nice!  And very nicely written patch!

Thanks, Dscho

Previous: Michael Spang
Message 2 of 2 in “Skip timestamp differences for diff --no-index”
  1. Skip timestamp differences for diff --no-indexMichael Spang, Feb 18, 2009
  2. Johannes SchindelinFeb 18, 2009

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.