shallow: convert shallow registration functions to object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 6 May 2017 22:10:06 +0000 (22:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2017 06:12:57 +0000 (15:12 +0900)
commite92b848cb6a77172d2fbd2bda39a32e371d40eea
tree57161abfe9d8b50f2c4af07fd0bb363444eccd75
parent68ab61dd099a2ce9f700fa68b9b7cc7722304407
shallow: convert shallow registration functions to object_id

Convert register_shallow and unregister_shallow to take struct
object_id.  register_shallow is a caller of lookup_commit, which we will
convert later.  It doesn't make sense for the registration and
unregistration functions to have incompatible interfaces, so convert
them both.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
builtin/receive-pack.c
commit.c
commit.h
fetch-pack.c
shallow.c
upload-pack.c