Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Convert lookup_tag to struct object_id
[gitweb.git]
/
sha1_name.c
diff --git
a/sha1_name.c
b/sha1_name.c
index 390a09c41a1db40a3aca88df9e581804c57b891b..b7e09ac13964a370ebb98f5242c9598c46d4a51b 100644
(file)
--- a/
sha1_name.c
+++ b/
sha1_name.c
@@
-361,7
+361,7
@@
static int show_ambiguous_object(const struct object_id *oid, void *data)
format_commit_message(commit, " %ad - %s", &desc, &pp);
}
} else if (type == OBJ_TAG) {
- struct tag *tag = lookup_tag(oid
->hash
);
+ struct tag *tag = lookup_tag(oid);
if (!parse_tag(tag) && tag->tag)
strbuf_addf(&desc, " %s", tag->tag);
}