Re: Incorrect man page for git-diff
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 18, 2012, 18:11 UTC
- Message-ID
- <7vwqwffcxp.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <50D0AA78.5090603@gmail.com>
Manlio Perillo <manlio.perillo@gmail.com> writes:
Show 6 quoted lines
> Documentation seems to suggest this is supported, but it is not true: > > $ git diff HEAD:git.c HEAD~100:git.c -- git.c > usage: git diff [<options>] [<commit> [<commit>]] [--] [<path>...] > > unless I'm missing something.
Neither HEAD:git.c nor HEAD~100:git.c are commits. You are comparing two blob objects in their raw forms without textconv nor filter.