diff options
author | René Scharfe <l.s.r@web.de> | 2019-12-11 21:46:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-12 00:48:42 +0300 |
commit | e0ae2447d66aa3983837ddc3d6fc0c3371a8e350 (patch) | |
tree | 0331e72e5f0485836484da38360bb1e990fd8cb2 /builtin | |
parent | ad05a3d8e5a6a06443836b5e40434262d992889a (diff) |
refs: pass NULL to refs_read_ref_full() because object ID is not needed
refs_read_ref_full() wraps refs_resolve_ref_unsafe(), which handles a
NULL oid pointer of callers not interested in the resolved object ID.
Pass NULL from files_copy_or_rename_ref() to clarify that it is one
such caller.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions