refs: convert update_ref and refs_update_ref to use struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 15 Oct 2017 22:06:51 +0000 (22:06 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Oct 2017 02:05:50 +0000 (11:05 +0900)
commitae077771b09fac4d663e3f8c039318a97eb3a15b
tree53b4ed92e41aad737b49a44fc60871f7df1445dc
parent2616a5e5089814188a583572bd9bf578b18a2a40
refs: convert update_ref and refs_update_ref to use struct object_id

Convert update_ref, refs_update_ref, and write_pseudoref to use struct
object_id.  Update the existing callers as well.  Remove update_ref_oid,
as it is no longer needed.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
17 files changed:
bisect.c
builtin/am.c
builtin/checkout.c
builtin/clone.c
builtin/merge.c
builtin/notes.c
builtin/pull.c
builtin/reset.c
builtin/update-ref.c
notes-cache.c
notes-utils.c
refs.c
refs.h
sequencer.c
t/helper/test-ref-store.c
transport-helper.c
transport.c