git-cat-file: Add --batch-check option
authorAdam Roben <aroben@apple.com>
Wed, 23 Apr 2008 19:17:46 +0000 (15:17 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 May 2008 04:17:32 +0000 (21:17 -0700)
commit05d5667fec9650b049f47edd8cca23a43b135365
tree1d7e42cd7e960d31bca1e73d91105b473f51c205
parent4814dbe830baf5a72d8abbbfcc60eeea478b47c2
git-cat-file: Add --batch-check option

This new option allows multiple objects to be specified on stdin. For each
object specified, a line of the following form is printed:

<sha1> SP <type> SP <size> LF

If the object does not exist in the repository, a line of the following form is
printed:

<object> SP missing LF

Signed-off-by: Adam Roben <aroben@apple.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-cat-file.txt
builtin-cat-file.c
t/t1006-cat-file.sh