resolve_gitlink_ref_recursive(): change to work with struct ref_cache
commit973592ca53225b2957e548b5b728940d5d5eca99
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 17 Oct 2011 07:39:23 +0000 (17 09:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Oct 2011 18:19:56 +0000 (17 11:19 -0700)
treefe0185916fd4ccb999f3b6a55a353b540f47baf5
parent4e4f475b1d89ac0bd7928abd85b63cf4ec554e52
resolve_gitlink_ref_recursive(): change to work with struct ref_cache

resolve_gitlink_ref() and resolve_gitlink_ref_recursive(), together,
basically duplicated the code in git_path_submodule().  So use that
function instead.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c