Merge branch 'it/fetch-pack-many-refs'
commit77cab8af4ad6c25995e40a5ababc7a17dc369fe0
authorJunio C Hamano <gitster@pobox.com>
Tue, 24 Apr 2012 21:40:51 +0000 (24 14:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Apr 2012 21:40:51 +0000 (24 14:40 -0700)
tree5658750a7e8772b77d73f0a115c2cd55fdbb8f7a
parent4de561ce80a0b10dbb2b4e79c1fc6bc7395534e5
parent7103d2543ad138bd9df672cdc94cc070dd7417d8
Merge branch 'it/fetch-pack-many-refs'

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
builtin/fetch-pack.c
remote-curl.c
t/t5500-fetch-pack.sh