From: Alex Riesen Date: Thu, 15 Mar 2007 13:55:01 GMT Subject: Re: [PATCH 2/5] diff --quiet Message-ID: <81b0412b0703150655y3d2a71d3t8db6e334ecf23ca1@mail.gmail.com> In-Reply-To: On 3/15/07, Johannes Schindelin wrote: > > > $ git-rev-parse v2.6.16^{tree} v2.6.20^{tree} > > > > > > > Why would I want to benchmark --quiet with rev-parse? > > It is not benchmarking, but it is a faster solution: you can see if two > trees are different by comparing their SHA-1s. Can the same be done for index? (index-tree comparison) > (That, however, works only if you do not want something like "git diff > -w"...) Why? Can't "git diff -w" quit early?