summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authoryorah <yoram.harmelin@gmail.com>2013-05-30 18:06:54 +0200
committeryorah <yoram.harmelin@gmail.com>2013-05-30 18:06:54 +0200
commitdf50512aebb77f9fab3a930e367fba3777d6ee81 (patch)
tree325da1a222fa96f59a6e7448505f404bd1571e78 /include/git2/remote.h
parent215af2ccb87ac22d94b7205ff97a050622de6897 (diff)
downloadlibgit2-df50512aebb77f9fab3a930e367fba3777d6ee81.tar.gz
Proposal to handle default value (auto = 0)
Diffstat (limited to 'include/git2/remote.h')
-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;
/**