This series tries to combine the annotated tag fetch into the first connection when possible, rather than waiting and performing the fetch on a second connection. Without server side support this series does the best the client can to avoid opening a second connection to automatically follow annotated tags. 1) Remove unused variable in builtin-fetch find_non_local_tags 2) Remove unnecessary delaying of free_refs(ref_map) in builtin-fetch 3) Ensure tail pointer gets setup correctly when we fetch HEAD only 4) Allow builtin-fetch's find_non_local_tags to append onto a list 5) Teach upload-pack to log the received need lines to fd 3 6) Make git-fetch follow tags we already have objects for sooner 7) Teach git-fetch to grab a tag at the same time as a commit builtin-fetch.c | 45 ++++++++++++------ t/t5503-tagfollow.sh | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++ upload-pack.c | 7 +++ 3 files changed, 161 insertions(+), 15 deletions(-) This time it comes with tests, and passes the current tests. :) -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html