do_for_each_ref_in_array(): new function
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 10 Apr 2012 05:30:15 +0000 (07:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Apr 2012 22:51:52 +0000 (15:51 -0700)
commitc36b5bc2e44c7e53a4c078056f1c40c155d8a87e
tree3d7f24a91bcdf98035059ecba5f612b0351a98a6
parent429213e47039e6c60dd7ffcf4b32bf5bb3515690
do_for_each_ref_in_array(): new function

Extract function do_for_each_ref_in_array() from do_for_each_ref().
The new function will be a useful building block for storing refs
hierarchically.

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