diff options
author | René Scharfe <l.s.r@web.de> | 2019-12-11 19:46:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-11 13:48:46 -0800 |
commit | 99f86bde8332dbff834b9e4c0e929c594200807a (patch) | |
tree | 28f8d33d92dc233bb4b094ffe8e454a588066915 /commit.c | |
parent | e0ae2447d66aa3983837ddc3d6fc0c3371a8e350 (diff) |
remote: pass NULL to read_ref_full() because object ID is not needed
read_ref_full() wraps refs_read_ref_full(), which in turn wraps
refs_resolve_ref_unsafe(), which handles a NULL oid pointer of callers
not interested in the resolved object ID. Make use of that feature to
document that mv() is such a caller.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions