refs: convert reflog_expire parameter to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 15 Oct 2017 22:07:04 +0000 (22:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Oct 2017 02:05:51 +0000 (11:05 +0900)
commit0155f710b856970dc1dc5261e740f135c67a7b1d
treef6122e27a1303bab633d2a5137cffdf468e60c57
parent8eb36d9422a04a30ecc54fd69b4f836eafd10637
refs: convert reflog_expire parameter to struct object_id

reflog_expire already used struct object_id internally, but it did not
take it as a parameter.  Adjust the parameter (and the callers) to pass
a pointer to struct object_id instead of a pointer to unsigned char.
Remove the temporary inserted earlier as it is no longer required.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/reflog.c
refs.c
refs.h
refs/files-backend.c
refs/packed-backend.c
refs/refs-internal.h