author | Adam Brewster <adambrewster@gmail.com> | |
Sat, 5 Jul 2008 21:26:40 +0000 (17:26 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 7 Jul 2008 08:31:24 +0000 (01:31 -0700) | ||
commit | 22568f0a336ac37ae7329c917857b455839d1d09 | |
tree | 83b61b96de4ef6d0889cf6d432e82ce79aa252bb | tree | snapshot |
parent | 44701c67fd1d5d771b440c8646b7b268d4f1402d | commit | diff |
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>
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 | diff | blob | history |