Re: [PATCH 16/38] resolve_gitlink_ref(): implement using resolve_ref_recursively()
Michael Haggerty <mhagger@alum.mit.edu> writes:
Show 7 quoted lines
> resolve_ref_recursively() can handle references in arbitrary files
> reference stores, so use it to resolve "gitlink" (i.e., submodule)
> references. Aside from removing redundant code, this allows submodule
> lookups to benefit from the much more robust code that we use for
> reading non-submodule references. And, since the code is now agnostic
> about reference backends, it will work for any future references
> backend (so move its definition to refs.c).