threads / patch / 12392

v2, 7 partsMore aggressive tag auto-following

Subject: [PATCH v2 0/7] More aggressive tag auto-following

## tl;dr

One message between Mar 1, 2008 and Mar 1, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Shawn O. Pearce· Mar 1, 2008, 05:24 UTC · lore

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.

← back to recent threads