Skip to content

Commit 5e69491

Browse files
committed
Merge branch 'mh/ref-api'
Allows walking only a sub-hierarchy in refs/*. By Michael Haggerty * mh/ref-api: do_for_each_ref(): only iterate over the subtree that was requested refs: store references hierarchically sort_ref_dir(): simplify logic refs.c: rename ref_array -> ref_dir struct ref_entry: nest the value part in a union check_refname_component(): return 0 for zero-length components free_ref_entry(): new function names_conflict(): simplify implementation repack_without_ref(): reimplement using do_for_each_ref_in_array() do_for_each_ref_in_arrays(): new function do_for_each_ref_in_array(): new function refs: manage current_ref within do_one_ref() refs.c: reorder definitions more logically
2 parents 419f2ec + 933ac03 commit 5e69491

File tree

2 files changed

+669
-373
lines changed

2 files changed

+669
-373
lines changed

0 commit comments

Comments
 (0)