mirror of
https://github.com/git/git.git
synced 2026-01-23 00:47:02 +00:00
Merge branch 'mingw/fixup-ref-filter-remote-name'
These fixups/squashes reflect the changes accumulated so far after submitting v2 of the ref-filter-remote-name patch series to the Git mailing list. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -1268,9 +1268,11 @@ static void fill_remote_ref_details(struct used_atom *atom, const char *refname,
|
||||
else
|
||||
*s = "";
|
||||
} else if (atom->u.remote_ref.option == RR_REMOTE_REF) {
|
||||
int explicit, for_push = starts_with(atom->name, "push");
|
||||
const char *merge = remote_ref_for_branch(branch, for_push,
|
||||
&explicit);
|
||||
int explicit;
|
||||
const char *merge;
|
||||
|
||||
merge = remote_ref_for_branch(branch, atom->u.remote_ref.push,
|
||||
&explicit);
|
||||
if (explicit)
|
||||
*s = xstrdup(merge);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user