Re: Salvaging borked project history
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 26, 2015, 23:54 UTC
- Message-ID
- <xmqqlhjkjkkc.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <54EFB0AE.6000600@free.fr>
Mason <slash.tmp@free.fr> writes:
Show 8 quoted lines
>> 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.