Optimized tag autofollowing in git-fetch
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest8 patches 0 repliesNew
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | Remove unused variable in builtin-fetch find_non_local_tagsbuiltin-fetch.c | +2 | 0 replies | |
| 2/8 | Remove unnecessary delaying of free_refs(ref_map) in builtin-fetchbuiltin-fetch.c | +2 | 0 replies | |
| 3/8 | Ensure tail pointer gets setup correctly when we fetch HEAD onlybuiltin-fetch.c | +1 | 0 replies | |
| 4/8 | Allow builtin-fetch's find_non_local_tags to append onto a listbuiltin-fetch.c | +5 | 0 replies | |
| 5/8 | Free the path_lists used to find non-local tags in git-fetchbuiltin-fetch.c | +3 | 0 replies | |
| 6/8 | Teach upload-pack to log the received need lines to an fdupload-pack.c | +9 | 0 replies | |
| 7/8 | Make git-fetch follow tags we already have objects for soonerbuiltin-fetch.c | +6 | 0 replies | |
| 8/8 | Teach git-fetch to grab a tag at the same time as a commitbuiltin-fetch.c t/ | +137 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/8] Optimized tag autofollowing in git-fetch
Here's version 3 of the more aggressive tag following for git-fetch.
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) Free the path_lists used to find non-local tags in git-fetch 6) Teach upload-pack to log the received need lines to an fd 7) Make git-fetch follow tags we already have objects for sooner 8) Teach git-fetch to grab a tag at the same time as a commit
builtin-fetch.c | 49 +++++++++++++------ t/t5503-tagfollow.sh | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++ upload-pack.c | 9 ++++ 3 files changed, 166 insertions(+), 16 deletions(-)
Changes since the last (v2) round:
"Free the path_lists used to find non-local tags in git-fetch"
This patch was added to the series to avoid memory corruption errors that were only showing up on Linux. My earlier testing only on Mac OS X failed to show any symptoms of the corruption. Junio noticed it on Linux and asked me to revisit the series.
"Teach upload-pack to log the received need lines to an fd"
At Daniel's suggestion the GIT_DEBUG_SEND_PACK environment variable takes the value of the fd we log onto. This mirrors how GIT_TRACE works.
Signature · 1 line
Shawn.