Re: [PATCH] refs: pass NULL to refs_read_ref_full() because object ID is not needed
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Dec 11, 2019, 19:01 UTC
- Message-ID
- <3f39d0f8-adfb-5f25-a724-f37f26904fa6@gmail.com>
- In-Reply-To
- <a762958e-324b-f9a5-96e4-fab0b4b91df8@web.de>
On 12/11/2019 1:46 PM, René Scharfe wrote:
> 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.
I suppose this could have been grouped/threaded with the other similar patch, but still correct. Thanks!
-Stolee