Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse_object_buffer: do not set object type
[gitweb.git]
/
tag.c
diff --git
a/tag.c
b/tag.c
index 7b07921b30641994ab3a877b6b377c5ce1f40149..79552c716cf63d454d6fdcd75845db91c609c92a 100644
(file)
--- a/
tag.c
+++ b/
tag.c
@@
-40,7
+40,7
@@
struct tag *lookup_tag(const unsigned char *sha1)
{
struct object *obj = lookup_object(sha1);
if (!obj)
- return create_object(sha1,
OBJ_TAG,
alloc_tag_node());
+ return create_object(sha1, alloc_tag_node());
if (!obj->type)
obj->type = OBJ_TAG;
if (obj->type != OBJ_TAG) {