Code

git-p4: input to "p4 files" by stdin instead of arguments
authorScott Lamb <slamb@slamb.org>
Mon, 16 Jul 2007 03:58:11 +0000 (20:58 -0700)
committerSimon Hausmann <simon@lst.de>
Tue, 17 Jul 2007 06:35:33 +0000 (08:35 +0200)
commit788001908c8960daa162c32baf3dc0f9ad1c16f8
tree00e92811b62aee04511cfb03be3a52e714dbcd8b
parent9f90c7335e223c26d19f3c01a6d89e6c0cd8b827
git-p4: input to "p4 files" by stdin instead of arguments

This approach, suggested by Alex Riesen, bypasses the need for xargs-style
argument list handling. The handling in question looks broken in a corner
case with SC_ARG_MAX=4096 and final argument over 96 characters.

Signed-off-by: Scott Lamb <slamb@slamb.org>
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4