summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-09-30 10:56:06 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-09-30 12:05:28 +0200
commit3230a44f4c951cbaeadfa5ae111f6558298dfc61 (patch)
tree2a07a140b7e6352ab6f97d5ca382eafd4ed96dcd /include/git2/remote.h
parenteb0bd77a8892b77b8eaa57da2f827981c62bc161 (diff)
downloadlibgit2-3230a44f4c951cbaeadfa5ae111f6558298dfc61.tar.gz
remote: support downloading all tags
Also honor remote.$name.tagopt = --tags.
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 1bca7a716..c015289e8 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -307,7 +307,8 @@ GIT_EXTERN(void) git_remote_set_callbacks(git_remote *remote, git_remote_callbac
enum {
GIT_REMOTE_DOWNLOAD_TAGS_UNSET,
GIT_REMOTE_DOWNLOAD_TAGS_NONE,
- GIT_REMOTE_DOWNLOAD_TAGS_AUTO
+ GIT_REMOTE_DOWNLOAD_TAGS_AUTO,
+ GIT_REMOTE_DOWNLOAD_TAGS_ALL
};
/**