Skip to content

More aggressive tag auto-following

Shawn O. Pearce git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Remove unused variable in builtin-fetch find_non_local_tagsbuiltin-fetch.c+2 -30 replies
2/7Remove unnecessary delaying of free_refs(ref_map) in builtin-fetchbuiltin-fetch.c+2 -40 replies
3/7Ensure tail pointer gets setup correctly when we fetch HEAD onlybuiltin-fetch.c+1 -00 replies
4/7Allow builtin-fetch's find_non_local_tags to append onto a listbuiltin-fetch.c+5 -50 replies
5/7Teach upload-pack to log the received need lines to fd 3upload-pack.c+7 -00 replies
6/7Make git-fetch follow tags we already have objects for soonerbuiltin-fetch.c+6 -00 replies
7/7Teach git-fetch to grab a tag at the same time as a commitbuiltin-fetch.c t/t5503-tagfollow.sh+137 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] 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.