Merge branch 'nd/upload-pack-shallow'
authorJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 19:49:08 +0000 (12:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 19:49:08 +0000 (12:49 -0700)
commit1ddb4d7e5ed478ec7a0335090482c1944a64aca5
treef7d259210d2148375b7a59138f71d92b67d6196f
parent6dada01b95a48f8ea0eeec53d2eb4a8c894aff91
parentb790e0f67cd97f29b72cb9007632b0329e5eebec
Merge branch 'nd/upload-pack-shallow'

Serving objects from a shallow repository needs to write a
temporary file to be used, but the serving upload-pack may not have
write access to the repository which is meant to be read-only.

Instead feed these temporary shallow bounds from the standard input
of pack-objects so that we do not have to use a temporary file.

* nd/upload-pack-shallow:
  upload-pack: send shallow info over stdin to pack-objects
builtin/pack-objects.c
upload-pack.c