]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.c
fetch-pack: use parse_oid_hex
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 18 Aug 2019 20:04:04 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Aug 2019 22:04:57 +0000 (15:04 -0700)
commitf6af19a9ad814de530bfac9b564126234434a9e3
treed76bb52ebeed3767f83588217ca2d72a0f41b768
parent36261e42ec30477434f3325f279fd91a1d9eb434
fetch-pack: use parse_oid_hex

Instead of hard-coding constants, use parse_oid_hex to compute a pointer
and use it in further parsing operations.

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