-----BEGIN PGP SIGNED MESSAGE-----
Il 18/12/2012 19:11, Junio C Hamano ha scritto:
> Manlio Perillo <manlio.peri...@gmail.com> 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 [<options>] [<commit> [<commit>]] [--] [<path>...]
>> unless I'm missing something.
> Neither HEAD:git.c nor HEAD~100:git.c are commits.
Well, the documentation calls these parameter "commit", later saying
"For a more complete list of ways to spell <commit>, see "SPECIFYING
> You are
> comparing two blob objects in their raw forms without textconv nor
Note that I was not missing the fact that git diff does not apply
texconv and filters.
I'm not sure the man page is wrong and should be changed:
-- usage: git diff [<options>] [<commit> [<commit>]] [--] [<path>...]
++ usage: git diff [<options>] [<commit> [<commit>]]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html