diff options
author | David Turner <dturner@twopensource.com> | 2016-04-07 15:02:49 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-10 11:34:55 -0700 |
commit | 937705901b83737a35996f62dbfbfefd8e5c8d7f (patch) | |
tree | 54e1be300c75deb21b7d3b650e589dcafde65ebd /unpack-trees.h | |
parent | 2bf68ed5aa79fcccba6ea4c021b15e51c019a85e (diff) | |
download | git-937705901b83737a35996f62dbfbfefd8e5c8d7f.tar.gz git-937705901b83737a35996f62dbfbfefd8e5c8d7f.tar.xz |
refs: move for_each_*ref* functions into common code
Make do_for_each_ref take a submodule as an argument instead of a
ref_cache. Since all for_each_*ref* functions are defined in terms of
do_for_each_ref, we can then move them into the common code.
Later, we can simply make do_for_each_ref into a backend function.
Signed-off-by: David Turner <dturner@twopensource.com>
Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.h')
0 files changed, 0 insertions, 0 deletions