Teach git-bundle to read revision arguments from stdin like git-rev-list.
commit22568f0a336ac37ae7329c917857b455839d1d09
authorAdam Brewster <adambrewster@gmail.com>
Sat, 5 Jul 2008 21:26:40 +0000 (5 17:26 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2008 08:31:24 +0000 (7 01:31 -0700)
tree83b61b96de4ef6d0889cf6d432e82ce79aa252bb
parent44701c67fd1d5d771b440c8646b7b268d4f1402d
Teach git-bundle to read revision arguments from stdin like git-rev-list.

This patch allows the caller to feed the revision parameters to git-bundle
from its standard input.  This way, a script do not have to worry about
limitation of the length of command line.

Documentation/git-bundle.txt says that git-bundle takes arguments acceptable
to git-rev-list.  Obviously some arguments that git-rev-list handles don't
make sense for git-bundle (e.g. --bisect) but --stdin is pretty reasonable.

Signed-off-by: Adam Brewster <adambrewster@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bundle.c