Merge branch 'it/fetch-pack-many-refs' into maint
commitcda03b6ad3e685ebf8349597afd71553a3ebb3a4
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2012 04:12:36 +0000 (1 21:12 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2012 04:12:36 +0000 (1 21:12 -0700)
tree7a8192c935d2672551d58302b17985814ce7ce5d
parent17f695b479546c691f797a5f1d153fbb3010fb2f
parent7103d2543ad138bd9df672cdc94cc070dd7417d8
Merge branch 'it/fetch-pack-many-refs' into maint

When "git fetch" encounters repositories with too many references, the
command line of "fetch-pack" that is run by a helper e.g. remote-curl, may
fail to hold all of them. Now such an internal invocation can feed the
references through the standard input of "fetch-pack".

By Ivan Todoroski
* it/fetch-pack-many-refs:
  remote-curl: main test case for the OS command line overflow
  fetch-pack: test cases for the new --stdin option
  remote-curl: send the refs to fetch-pack on stdin
  fetch-pack: new --stdin option to read refs from stdin

Conflicts:
t/t5500-fetch-pack.sh
builtin/fetch-pack.c
remote-curl.c
t/t5500-fetch-pack.sh