refs: convert delete_ref and refs_delete_ref to struct object_id
commit2616a5e5089814188a583572bd9bf578b18a2a40
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 15 Oct 2017 22:06:50 +0000 (15 22:06 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Oct 2017 02:05:50 +0000 (16 11:05 +0900)
treee332a31b1f6f6262a1c0bdd36cfe7e46b2459a7f
parent49e9958869670d829edd63a54dabc46496a3cb48
refs: convert delete_ref and refs_delete_ref to struct object_id

Convert delete_ref and refs_delete_ref to take a pointer to struct
object_id.  Update the documentation accordingly, including referring to
null_oid in lowercase, as it is not a #define constant.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c
builtin/replace.c
builtin/reset.c
builtin/tag.c
builtin/update-ref.c
refs.c
refs.h
refs/files-backend.c
t/helper/test-ref-store.c