Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object: convert lookup_object() to use object_id
[gitweb.git]
/
tag.c
diff --git
a/tag.c
b/tag.c
index 7445b8f6ea4d371bc76aa5dcc1c1448abef149a1..3ae00ba1ab9343cfd236887c4b8e308d499ce537 100644
(file)
--- a/
tag.c
+++ b/
tag.c
@@
-100,7
+100,7
@@
struct object *deref_tag_noverify(struct object *o)
struct tag *lookup_tag(struct repository *r, const struct object_id *oid)
{
- struct object *obj = lookup_object(r, oid
->hash
);
+ struct object *obj = lookup_object(r, oid);
if (!obj)
return create_object(r, oid->hash,
alloc_tag_node(r));