Re: Incorrect man page for git-diff

2012-12-18 Thread Junio C Hamano
Manlio Perillo writes: > I'm not sure the man page is wrong and should be changed: > > -- usage: git diff [] [ []] [--] [...] > ++ usage: git diff [] [ []] Comparison of two blob objects works entirely in different way (it is not even recursively comparing two tree-shaped things). I do not

Re: Incorrect man page for git-diff

2012-12-18 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 18/12/2012 19:11, Junio C Hamano ha scritto: > Manlio Perillo writes: > >> 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 [] [ []] [--] [...] >> >> u

Re: Incorrect man page for git-diff

2012-12-18 Thread Junio C Hamano
Manlio Perillo writes: > 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 [] [ []] [--] [...] > > unless I'm missing something. Neither HEAD:git.c nor HEAD~100:git.c are commits. You are comparing two b

Incorrect man page for git-diff

2012-12-18 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. 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 [] [ []] [--] [...] unless I'm missing something. Manlio -BEGIN PGP SIGNATURE- Version: GnuPG v1.