From: Matthieu Moy Date: Fri, 20 Jun 2008 11:30:01 GMT Subject: Re: [q] git-diff --reverse 7def2be1..7def2be1^ Message-ID: In-Reply-To: <20080620082034.GA24913@elte.hu> Ingo Molnar writes: > 1) the SHA1 is duplicated above, is there a way to avoid it? Initially i > tried the obvious extension: > > git-diff --reverse 7def2be1..^ > > But Git didnt recognize that as a valid commit range. Git may not know how to do it, but since you can omit the .. here, your shell knows: git diff whatever{,^} (BTW, git-foo is being obsoleted in favor of "git foo") -- Matthieu