diff options
Diffstat (limited to 'src/remote.c')
-rw-r--r-- | src/remote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote.c b/src/remote.c index 7c2d99937..4dbcb3b1a 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; @@ -1539,7 +1539,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; |