]> git.ipfire.org Git - thirdparty/git.git/blobdiff - ref-filter.c
credential: update description for credential_from_url_gently
[thirdparty/git.git] / ref-filter.c
index 79bb52067832e971d39f06fa756dd09a205c65cc..b1812cb69a173c983bf434bcab0522bb96d03dd0 100644 (file)
@@ -1459,12 +1459,10 @@ static void fill_remote_ref_details(struct used_atom *atom, const char *refname,
                        remote_for_branch(branch, &explicit);
                *s = xstrdup(explicit ? remote : "");
        } else if (atom->u.remote_ref.option == RR_REMOTE_REF) {
-               int explicit;
                const char *merge;
 
-               merge = remote_ref_for_branch(branch, atom->u.remote_ref.push,
-                                             &explicit);
-               *s = xstrdup(explicit ? merge : "");
+               merge = remote_ref_for_branch(branch, atom->u.remote_ref.push);
+               *s = xstrdup(merge ? merge : "");
        } else
                BUG("unhandled RR_* enum");
 }