Message ID | 7vipmz9oca.fsf@alter.siamese.dyndns.org |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
diff --git a/builtin/merge.c b/builtin/merge.c index f61b367..ce3b4f8 100644 --- a/builtin/merge.c +++ b/builtin/merge.c @@ -428,6 +428,11 @@ static void merge_name(const char *remote, struct strbuf *msg) sha1_to_hex(branch_head), remote); goto cleanup; } + if (!prefixcmp(found_ref, "refs/tags/")) { + strbuf_addf(msg, "%s\t\ttag '%s' of .\n", + sha1_to_hex(branch_head), remote); + goto cleanup; + } if (!prefixcmp(found_ref, "refs/remotes/")) { strbuf_addf(msg, "%s\t\tremote-tracking branch '%s' of .\n", sha1_to_hex(branch_head), remote);