]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.c
fetch-pack: convert to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 1 May 2017 02:28:54 +0000 (02:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 May 2017 01:46:41 +0000 (10:46 +0900)
commit1b283377b18bc1e363005729b025a88b36084c4e
treece21a4f950c6f9d62315be186ddfc75a3e6250db
parentd2bbb7c2bcf6e77ebfcabf4e12110fe6d5c91de6
fetch-pack: convert to struct object_id

Convert all uses of unsigned char [20] to struct object_id.  Switch one
use of get_sha1_hex to parse_oid_hex to avoid the need for a constant.
This change is necessary in order to convert parse_object.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-pack.c