git-fetch: Fix "argument list too long"
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Mon, 23 Apr 2007 19:26:26 +0000 (04:26 +0900)
committerJunio C Hamano <junkio@cox.net>
Tue, 24 Apr 2007 07:08:01 +0000 (00:08 -0700)
commitafb5f39e24eadc5933b34cfd17c1089e482d6a6b
tree7e6476c38b936cb8f55fdeaea314ed09cf47698f
parent2122591b3b5c6d93d3052a3151afcfa3146ede84
git-fetch: Fix "argument list too long"

If $ls_remote_result was too long,

    git-fetch--tool -s pick-rref "$rref" "$ls_remote_result"

in git-fetch will fail with "argument list too long".

This patch fixes git-fetch--tool and git-fetch by passing
$ls_remote_result via stdin.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-fetch--tool.c
git-fetch.sh