summaryrefslogtreecommitdiff
path: root/rsh.h
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2006-03-01 02:43:33 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-01 09:15:31 (GMT)
commit9debe63d10e476b96ff550d550df344a68b240e8 (patch)
tree2a4366f0983c0df1436def2bb7ab530b39df1aa0 /rsh.h
parent858cbfbabe4ede5f5eba32041eb7448319e53e2a (diff)
downloadgit-9debe63d10e476b96ff550d550df344a68b240e8.zip
git-9debe63d10e476b96ff550d550df344a68b240e8.tar.gz
git-9debe63d10e476b96ff550d550df344a68b240e8.tar.bz2
Teach git-checkout-index to read filenames from stdin.
Since git-checkout-index is often used from scripts which may have a stream of filenames they wish to checkout it is more convenient to use --stdin than xargs. On platforms where fork performance is currently sub-optimal and the length of a command line is limited (*cough* Cygwin *cough*) running a single git-checkout-index process for a large number of files beats spawning it multiple times from xargs. File names are still accepted on the command line if --stdin is not supplied. Nothing is performed if no files are supplied on the command line or by stdin. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'rsh.h')
0 files changed, 0 insertions, 0 deletions