summaryrefslogtreecommitdiff
path: root/src/remote.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-09-15 08:07:24 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-09-30 11:56:38 +0200
commit24f2f94e7defd20ab302c30d0d394248a6e43814 (patch)
treeef3bfbac718823254d407021d1240da840200865 /src/remote.h
parentc128149315c67d52c4503e294bfbd2653e0a8307 (diff)
downloadlibgit2-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/remote.h')
-rw-r--r--src/remote.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remote.h b/src/remote.h
index 67933a327..51587beb1 100644
--- a/src/remote.h
+++ b/src/remote.h
@@ -24,7 +24,8 @@ struct git_remote {
git_repository *repo;
git_remote_callbacks callbacks;
unsigned int need_pack:1,
- check_cert;
+ download_tags:2, /* There are three possible values */
+ check_cert:1;
};
const char* git_remote__urlfordirection(struct git_remote *remote, int direction);