Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jh/trace2-pretty-output'
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index 200154297d5ea8baddda52e39cd4de302595bfcc..e048f85484c5ea2bd1d6b684aa10b407b2699c45 100644
(file)
--- a/
builtin/describe.c
+++ b/
builtin/describe.c
@@
-313,7
+313,7
@@
static void describe_commit(struct object_id *oid, struct strbuf *dst)
*/
append_name(n, dst);
if (longformat)
- append_suffix(0, n->tag ?
&n->tag->tagged->oid
: oid, dst);
+ append_suffix(0, n->tag ?
get_tagged_oid(n->tag)
: oid, dst);
if (suffix)
strbuf_addstr(dst, suffix);
return;