From: Stefan Beller Date: Thu, 09 Feb 2017 17:39:42 GMT Subject: Re: [PATCH 5/5] read_loose_refs(): read refs using resolve_ref_recursively() Message-ID: In-Reply-To: <024d6b2e5ca1ffa876c2911e6d9d0bb4f6091730.1486629195.git.mhagger@alum.mit.edu> On Thu, Feb 9, 2017 at 5:27 AM, Michael Haggerty wrote: > There is no need to call read_ref_full() or resolve_gitlink_ref() from > read_loose_refs(), because we already have a ref_store object in hand. > So we can call resolve_ref_recursively() ourselves. Happily, this > unifies the code for the submodule vs. non-submodule cases. > > This requires resolve_ref_recursively() to be exposed to the refs > subsystem, though not to non-refs code. > > Signed-off-by: Michael Haggerty > --- Looks good, Stefan