From: Michael Haggerty Date: Mon, 12 Dec 2011 05:38:16 +0000 (+0100) Subject: refs: change signatures of get_packed_refs() and get_loose_refs() X-Git-Tag: v1.7.9-rc0~35^2~7 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/316b097ac138c3c5232ce9bbaede83d68fb686ea?ds=inline;hp=316b097ac138c3c5232ce9bbaede83d68fb686ea refs: change signatures of get_packed_refs() and get_loose_refs() Change get_packed_refs() and get_loose_refs() to take a (struct ref_cache *) instead of the name of the submodule. Change get_ref_dir() to take a submodule name (i.e., "" for the main module) rather than a submodule pointer (i.e., NULL for the main module) so that refs->name can be used as its argument. (In a moment this function will also be changed to take a (struct ref_cache *), too.) Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano ---