From: Junio C Hamano Date: Fri, 31 Aug 2007 21:16:24 GMT Subject: Re: [PATCH] diff: resurrect the traditional empty "diff --git" behaviour Message-ID: <7vhcmfxv4n.fsf@gitster.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: > On Fri, 31 Aug 2007, Jeff King wrote: > >> On Fri, Aug 31, 2007 at 01:13:42PM -0700, Junio C Hamano wrote: >> >> > If you set diff.autorefreshindex configuration variable, it >> > squelches the empty "diff --git" output, and at the end of the >> > command, it automatically runs "update-index --refresh" without >> > even bothering the user. In other words, with the configuration >> > variable set, people who do not care about the cache-dirtyness >> > do not even have to see the warning. >> >> Nice. This is much more sane behavior, IMHO, and I think it should make >> everyone happy. > > I could even imagine that this will eventually become the standard > behaviour. You sound as if you _like_ that behaviour...