Skip to contentSkip to conversation

More aggressive tag auto-following

PATCH New Shawn O. Pearce 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

v2 cover More aggressive tag auto-following

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. :)

Signature · 1 line
Shawn.