archive: convert queue_directory to struct object_id
commite124ecf7f7643c83c4f23badb8e1437f863549c7
authorRené Scharfe <l.s.r@web.de>
Fri, 27 Aug 2021 19:59:16 +0000 (27 21:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Aug 2021 21:19:00 +0000 (27 14:19 -0700)
treef2e3d783cdb86bdc1b31bb7938e64f33b3974c3c
parent225bc32a989d7a22fa6addafd4ce7dcd04675dbf
archive: convert queue_directory to struct object_id

Pass the struct object_id on instead of just its hash member.
This is simpler and avoids the need to guess the algorithm.

Signed-off-by: René Scharfe <l.s.r@web.de>
Acked-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c