]> git.ipfire.org Git - thirdparty/git.git/commit - notes-merge.c
refs: convert read_ref and read_ref_full to object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 15 Oct 2017 22:06:56 +0000 (22:06 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Oct 2017 02:05:50 +0000 (11:05 +0900)
commit34c290a6fc8b1f6705d2646d726df2260927da0f
tree669c6569783ec61850be600dcd1b8496cabbf66d
parent0f2dc722dd01097d1e1c1dac43b2f57924594457
refs: convert read_ref and read_ref_full to object_id

All but two of the call sites already have parameters using the hash
parameter of struct object_id, so convert them to take a pointer to the
struct directly.  Also convert refs_read_refs_full, the underlying
implementation.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
19 files changed:
builtin/checkout.c
builtin/remote.c
builtin/replace.c
builtin/show-ref.c
builtin/tag.c
builtin/update-index.c
bundle.c
fast-import.c
notes-cache.c
notes-merge.c
notes-utils.c
notes.c
refs.c
refs.h
refs/files-backend.c
remote-testsvn.c
remote.c
sequencer.c
transport-helper.c