A few more options for git-cat-file
authorH. Peter Anvin <hpa@zytor.com>
Sun, 4 Dec 2005 01:57:48 +0000 (17:57 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 4 Dec 2005 07:07:17 +0000 (23:07 -0800)
This adds '-e' option to git-cat-file, to test for the existence
of the object.

This also cleans up the option-parsing in git-cat-file slightly.

[jc: HPA version had -n option which did rev-parse --verify; the
real value of this patch is the option parsing cleanup.]

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found