summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-12-12 06:38:16 +0100
committerJunio C Hamano <gitster@pobox.com>2011-12-12 09:08:53 -0800
commit316b097ac138c3c5232ce9bbaede83d68fb686ea (patch)
tree4a26f0ddecd009af71cbf15143d868e49bbb4cd8 /builtin/commit.c
parent202a56a92414a2142cd92f0c3fa89bfb29149388 (diff)
downloadgit-316b097ac138c3c5232ce9bbaede83d68fb686ea.tar.gz
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 <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions