From 24f2f94e7defd20ab302c30d0d394248a6e43814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Sat, 15 Sep 2012 08:07:24 +0200 Subject: fetch: use the include-tag capability This tells the remote to send us any tags that point to objects that we are downloading. --- include/git2/remote.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/git2/remote.h') 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 -- cgit v1.2.1