summaryrefslogtreecommitdiff
path: root/src/remote.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-06-25 18:55:48 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2015-06-25 18:55:48 -0400
commitc0280bdd1542640a83d732d7c50c30dddf4dc8df (patch)
tree477cb103b69c39837068e54553306dd26f62ef62 /src/remote.c
parent552249f941a4364f27e0092649af9ec09d9fa770 (diff)
parentc2418f461374a618504c261a4c71cdb01bab9f68 (diff)
downloadlibgit2-c0280bdd1542640a83d732d7c50c30dddf4dc8df.tar.gz
Merge pull request #3255 from libgit2/cmn/rename-unspecified
Rename FALLBACK to UNSPECIFIED
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote.c b/src/remote.c
index 8475b1c7b..f31fc150a 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -985,7 +985,7 @@ int git_remote_fetch(
if (opts && opts->prune == GIT_FETCH_PRUNE)
prune = true;
- else if (opts && opts->prune == GIT_FETCH_PRUNE_FALLBACK && remote->prune_refs)
+ else if (opts && opts->prune == GIT_FETCH_PRUNE_UNSPECIFIED && remote->prune_refs)
prune = true;
else if (opts && opts->prune == GIT_FETCH_NO_PRUNE)
prune = false;
@@ -1550,7 +1550,7 @@ int git_remote_update_tips(
if ((error = ls_to_vector(&refs, remote)) < 0)
goto out;
- if (download_tags == GIT_REMOTE_DOWNLOAD_TAGS_FALLBACK)
+ if (download_tags == GIT_REMOTE_DOWNLOAD_TAGS_UNSPECIFIED)
tagopt = remote->download_tags;
else
tagopt = download_tags;