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

1 messages from 2008-03-01 to 2008-03-01. Participants: Shawn O. Pearce.
Thread: https://gitlist.dev/t/12392

## Shawn O. Pearce, 2008-03-01 05:24

Subject: [PATCH v2 0/7] More aggressive tag auto-following
Message-ID: <20080301052422.GY8410@spearce.org>
URL: https://gitlist.dev/e/20080301052422.GY8410%40spearce.org

```
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.

```
