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