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 /include/git2/remote.h | |
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 'include/git2/remote.h')
-rw-r--r-- | include/git2/remote.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index a3913af5b..032bb30e5 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -304,6 +304,12 @@ struct git_remote_callbacks { */ GIT_EXTERN(void) git_remote_set_callbacks(git_remote *remote, git_remote_callbacks *callbacks); +enum { + GIT_REMOTE_DOWNLOAD_TAGS_UNSET, + GIT_REMOTE_DOWNLOAD_TAGS_NONE, + GIT_REMOTE_DOWNLOAD_TAGS_AUTO +}; + /** @} */ GIT_END_DECL #endif |