Convert lookup_tag to struct object_id
Convert lookup_tag to take a pointer to struct object_id. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
a92ea68fef
commit
d3101b533d
@ -2348,7 +2348,7 @@ static void add_tag_chain(const struct object_id *oid)
|
||||
if (packlist_find(&to_pack, oid->hash, NULL))
|
||||
return;
|
||||
|
||||
tag = lookup_tag(oid->hash);
|
||||
tag = lookup_tag(oid);
|
||||
while (1) {
|
||||
if (!tag || parse_tag(tag) || !tag->tagged)
|
||||
die("unable to pack objects reachable from tag %s",
|
||||
|
||||
Reference in New Issue
Block a user