From: Junio C Hamano Date: Thu, 26 Feb 2015 23:54:11 GMT Subject: Re: Salvaging borked project history Message-ID: In-Reply-To: <54EFB0AE.6000600@free.fr> Mason writes: >> Mason wrote: >> >>> I was planning to write 'git diff -q commit^ commit' >>> to test for empty commits. >> >> s/-q/--quiet/ and all is well, no? > > Doh! I've no idea how I missed these... Yeah, this is one of the unfortunate corners of Git that I can apologize but cannot do much more than that about (in other words, making "git diff -q" as a short-hand for "git diff --quiet" is not acceptable) due to backward compatibility and consistency concerns.