Merge branch 'jc/transport-do-not-use-connect-twice-in-fetch'
commit20419de969b8ce0c49d133affdb1bb73eb62815e
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2013 21:50:37 +0000 (9 14:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2013 21:50:37 +0000 (9 14:50 -0700)
tree8dd2f6f1b4adc1b2beee854ab1bce32a4f6dd48f
parent3b30ba55e4c14c6939a201e87d3542e157e2b318
parent0f73f8bd7974fcf7f9e4608875323c96c6159829
Merge branch 'jc/transport-do-not-use-connect-twice-in-fetch'

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
builtin/fetch.c
transport.c
transport.h