Merge branch 'dk/describe-all-output-fix'
An old regression in "git describe --all $annotated_tag^0" has been fixed. * dk/describe-all-output-fix: describe: prepend "tags/" when describing tags with embedded name
This commit is contained in:
@ -274,10 +274,13 @@ static void append_name(struct commit_name *n, struct strbuf *dst)
|
||||
n->name_checked = 1;
|
||||
}
|
||||
|
||||
if (n->tag)
|
||||
if (n->tag) {
|
||||
if (all)
|
||||
strbuf_addstr(dst, "tags/");
|
||||
strbuf_addstr(dst, n->tag->tag);
|
||||
else
|
||||
} else {
|
||||
strbuf_addstr(dst, n->path);
|
||||
}
|
||||
}
|
||||
|
||||
static void append_suffix(int depth, const struct object_id *oid, struct strbuf *dst)
|
||||
|
Reference in New Issue
Block a user