Merge branch 'jt/fetch-no-update-shallow-in-proto-v2'
commit732ce7aaca15d32c1284d85498a0f2bda7406b95
authorJunio C Hamano <gitster@pobox.com>
Thu, 25 Apr 2019 07:41:16 +0000 (25 16:41 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Apr 2019 07:41:16 +0000 (25 16:41 +0900)
treef8307f217660f4c63730bfb2b7c144fc903aa0a1
parentabd7ccdd4ddcc2d2ce1d51943051c071902b159a
parent1339078f5e670e5eb084a4a64c81a0d0b5f1e223
Merge branch 'jt/fetch-no-update-shallow-in-proto-v2'

Fix for protocol v2 support in "git fetch-pack" of shallow clones.

* jt/fetch-no-update-shallow-in-proto-v2:
  fetch-pack: respect --no-update-shallow in v2
  fetch-pack: call prepare_shallow_info only if v0
commit.h
fetch-pack.c