Revert "cat-file: split --batch input lines on whitespace"
commit062aeee8aa426468817c5bea96d781289b272ced
authorJunio C Hamano <gitster@pobox.com>
Fri, 2 Aug 2013 16:29:30 +0000 (2 09:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Aug 2013 16:29:30 +0000 (2 09:29 -0700)
tree4bdb3b965febcbe6008cc22a7470660735d3acba
parentd099b7173dabdeeb1f339151ac2169b3a91bf631
Revert "cat-file: split --batch input lines on whitespace"

This reverts commit c334b87b30c1464a1ab563fe1fb8de5eaf0e5bac; the
update assumed that people only used the command to read from
"rev-list --objects" output, whose lines begin with a 40-hex object
name followed by a whitespace, but it turns out that scripts feed
random extended SHA-1 expressions (e.g. "HEAD:$pathname") in which
a whitespace has to be kept.
Documentation/git-cat-file.txt
builtin/cat-file.c
t/t1006-cat-file.sh