summaryrefslogtreecommitdiff
path: root/src/fetch.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-06-25 12:48:44 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-06-25 12:48:44 +0200
commitc2418f461374a618504c261a4c71cdb01bab9f68 (patch)
treebd608906dc1244c19de052166ee6931abb2f9c98 /src/fetch.c
parentdaacf96d101b9d2100a5028090b5af5249d8893d (diff)
downloadlibgit2-c2418f461374a618504c261a4c71cdb01bab9f68.tar.gz
Rename FALLBACK to UNSPECIFIEDcmn/rename-unspecified
Fallback describes the mechanism, while unspecified explains what the user is thinking.
Diffstat (limited to 'src/fetch.c')
-rw-r--r--src/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fetch.c b/src/fetch.c
index 82d86bbce..4d895752c 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -60,7 +60,7 @@ static int filter_wants(git_remote *remote, const git_fetch_options *opts)
size_t i, heads_len;
git_remote_autotag_option_t tagopt = remote->download_tags;
- if (opts && opts->download_tags != GIT_REMOTE_DOWNLOAD_TAGS_FALLBACK)
+ if (opts && opts->download_tags != GIT_REMOTE_DOWNLOAD_TAGS_UNSPECIFIED)
tagopt = opts->download_tags;
git_vector_clear(&remote->refs);