archive: convert sha1_file_to_archive to struct object_id
commite5ec981a4b1d5a3159945f75f600bcf3764e1874
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 12 Mar 2018 02:27:36 +0000 (12 02:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Mar 2018 16:23:48 +0000 (14 09:23 -0700)
tree35e4ffb67fff93ac61307bec9ceec7b0414fce4b
parent015ff4f8225841d791c9940d71ebbce82c978a3c
archive: convert sha1_file_to_archive to struct object_id

Convert this function to take a pointer to struct object_id and rename
it object_file_to_archive.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive-tar.c
archive-zip.c
archive.c
archive.h