archive: convert struct archiver_args to object_id
commitbbf05cf70e5d0ba113ea4ed4c7c77cb890707911
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:05:20 +0000 (19 00:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:39 +0000 (1 11:57 +0900)
tree385cde5377863205a589bf0bbf71cd06727a826b
parent87003d2c94985f9b3c5ef23b9c042ae3b4ede6bb
archive: convert struct archiver_args to object_id

Change the commit_sha1 member to be called "commit_oid" and change it to
be a pointer to struct object_id.  Additionally, update some uses of
GIT_SHA1_HEXSZ and hard-coded values to use the_hash_algo instead.

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