Merge branch 'jc/transport-do-not-use-connect-twice-in-fetch' into maint
commit1e93c28f53e19945f059fd709729d724f8c06446
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Sep 2013 18:58:18 +0000 (18 11:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Sep 2013 18:58:18 +0000 (18 11:58 -0700)
treeaa893f79404a0e7d221be61506ebe30169d9a7c2
parent4b510c385ac47d35e0eea214990296a058aeb69e
parent0f73f8bd7974fcf7f9e4608875323c96c6159829
Merge branch 'jc/transport-do-not-use-connect-twice-in-fetch' into maint

The auto-tag-following code in "git fetch" tries to reuse the same
transport twice when the serving end does not cooperate and does
not give tags that point to commits that are asked for as part of
the primary transfer.  Unfortunately, Git-aware transport helper
interface is not designed to be used more than once, hence this
does not work over smart-http transfer.

* jc/transport-do-not-use-connect-twice-in-fetch:
  builtin/fetch.c: Fix a sparse warning
  fetch: work around "transport-take-over" hack
  fetch: refactor code that fetches leftover tags
  fetch: refactor code that prepares a transport
  fetch: rename file-scope global "transport" to "gtransport"
  t5802: add test for connect helper