Re: [PATCH 1/2] Convert many resolve_ref() calls to read_ref*() and ref_exists()
From: Junio C Hamano <hidden> Date: 2016-06-15 22:52:28
Nguyễn Thái Ngọc Duy [off-list ref] writes:
Convert all these call sites to new wrappers to reduce resolve_ref()
calls from 57 to 34. If we change resolve_ref() prototype later on
to avoid passing static buffer out, this helps reduce changes.
Indeed the result is very nice and it is almost trivial to see that the
result does not change any behaviour without looking outside the context.
Thanks.