Code

resolve_gitlink_ref_recursive(): change to work with struct ref_cache
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 12 Dec 2011 05:38:20 +0000 (06:38 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Dec 2011 17:08:53 +0000 (09:08 -0800)
commit064d51dc40bc9df75279ca3346cd84c2611c6aba
treeb87bd18a9d3f61e0c4b4bc55c95fe5497eb0370d
parentb0626608ea80e636faaa030a35200d8e47be5564
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