aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2012-04-25 00:45:12 +0200
committerJunio C Hamano <gitster@pobox.com>2012-05-03 13:15:09 -0700
commit9f2fb4a3737c86e245ce365f6ad8f901ad397d6f (patch)
treedc7e902c9bccffb0e5e75cd40448fc4eefc60ad4 /perl
parentf348ac923c9f834c3cdc434e6266872cf5710b71 (diff)
downloadgit-9f2fb4a3737c86e245ce365f6ad8f901ad397d6f.tar.gz
git-9f2fb4a3737c86e245ce365f6ad8f901ad397d6f.tar.xz
get_ref_dir(): take the containing directory as argument
Previously, the "dir" argument to get_ref_dir() was a pointer to the top-level ref_dir. Change the function to expect a pointer to the ref_dir corresponding to dirname. This allows entries to be added directly to dir, without having to recurse through the reference trie each time (i.e., we can use add_entry_to_dir() instead of add_ref()). Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'perl')
0 files changed, 0 insertions, 0 deletions