Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/get-tagged-oid'
[gitweb.git]
/
packfile.c
diff --git
a/packfile.c
b/packfile.c
index 1a7d69fe32a8808dd34063c48daf61e32886b47a..f3f962af4c6ccce48a5a0175ae95de9a171288c0 100644
(file)
--- a/
packfile.c
+++ b/
packfile.c
@@
-2122,7
+2122,7
@@
static int add_promisor_object(const struct object_id *oid,
oidset_insert(set, &parents->item->object.oid);
} else if (obj->type == OBJ_TAG) {
struct tag *tag = (struct tag *) obj;
- oidset_insert(set,
&tag->tagged->oid
);
+ oidset_insert(set,
get_tagged_oid(tag)
);
}
return 0;
}