diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-09-15 08:07:24 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-09-30 11:56:38 +0200 |
commit | 24f2f94e7defd20ab302c30d0d394248a6e43814 (patch) | |
tree | ef3bfbac718823254d407021d1240da840200865 /src/pkt.c | |
parent | c128149315c67d52c4503e294bfbd2653e0a8307 (diff) | |
download | libgit2-24f2f94e7defd20ab302c30d0d394248a6e43814.tar.gz |
fetch: use the include-tag capability
This tells the remote to send us any tags that point to objects that
we are downloading.
Diffstat (limited to 'src/pkt.c')
-rw-r--r-- | src/pkt.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -354,6 +354,9 @@ static int buffer_want_with_caps(git_remote_head *head, git_transport_caps *caps if (caps->multi_ack) git_buf_puts(&str, GIT_CAP_MULTI_ACK " "); + if (caps->include_tag) + git_buf_puts(&str, GIT_CAP_INCLUDE_TAG " "); + if (git_buf_oom(&str)) return -1; |