git-cat-file: Add --batch option
commita8128ed62858063e29edc066b14b8b0fa6257cc2
authorAdam Roben <aroben@apple.com>
Wed, 23 Apr 2008 19:17:47 +0000 (23 15:17 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 May 2008 04:18:37 +0000 (5 21:18 -0700)
tree2315d1b87c16f1d9134e2d2da6a6865f036af8cc
parent05d5667fec9650b049f47edd8cca23a43b135365
git-cat-file: Add --batch option

--batch is similar to --batch-check, except that the contents of each object is
also printed. The output's form is:

<sha1> SP <type> SP <size> LF
<contents> 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