X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin%2Ffast-export.c;h=9fe25ff0b3dc0ae89c668b146b46a4ccbd457361;hb=7e7db5e4520388d3a6f1efbe2f7a29d43bd06a2b;hp=c6dd71a7bcd0dfcb4691c9ca66a0c3a7bd4dcaae;hpb=dfe0171c4e78f8c392514a825c363251794fba5d;p=git.git diff --git a/builtin/fast-export.c b/builtin/fast-export.c index c6dd71a7b..9fe25ff0b 100644 --- a/builtin/fast-export.c +++ b/builtin/fast-export.c @@ -438,7 +438,7 @@ static void get_tags_and_duplicates(struct object_array *pending, /* handle nested tags */ while (tag && tag->object.type == OBJ_TAG) { parse_object(tag->object.sha1); - string_list_append(full_name, extra_refs)->util = tag; + string_list_append(extra_refs, full_name)->util = tag; tag = (struct tag *)tag->tagged; } if (!tag) @@ -464,7 +464,7 @@ static void get_tags_and_duplicates(struct object_array *pending, } if (commit->util) /* more than one name for the same object */ - string_list_append(full_name, extra_refs)->util = commit; + string_list_append(extra_refs, full_name)->util = commit; else commit->util = full_name; }