summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-05-31 03:08:48 -0700
committerVicent Martí <vicent@github.com>2013-05-31 03:08:48 -0700
commitaf2c72d228eab2d380d47cb7a5c19ba562340429 (patch)
treea055dc16c2b92e0b6aa01297d5ff1f6ca0384683 /include/git2
parent9d6d809b7fa7b3b3a6507496908166740527fc84 (diff)
parentdf50512aebb77f9fab3a930e367fba3777d6ee81 (diff)
downloadlibgit2-af2c72d228eab2d380d47cb7a5c19ba562340429.tar.gz
Merge pull request #1623 from yorah/fix/tag_auto
remote: make default tag retrieving behaviour consistent
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/remote.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 2aa384a54..3f43916b5 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -426,10 +426,9 @@ GIT_EXTERN(int) git_remote_set_callbacks(git_remote *remote, git_remote_callback
GIT_EXTERN(const git_transfer_progress *) git_remote_stats(git_remote *remote);
typedef enum {
- GIT_REMOTE_DOWNLOAD_TAGS_UNSET,
- GIT_REMOTE_DOWNLOAD_TAGS_NONE,
- GIT_REMOTE_DOWNLOAD_TAGS_AUTO,
- GIT_REMOTE_DOWNLOAD_TAGS_ALL
+ GIT_REMOTE_DOWNLOAD_TAGS_AUTO = 0,
+ GIT_REMOTE_DOWNLOAD_TAGS_NONE = 1,
+ GIT_REMOTE_DOWNLOAD_TAGS_ALL = 2
} git_remote_autotag_option_t;
/**