mirror of
https://github.com/git/git.git
synced 2026-03-17 20:20:08 +01:00
* mh/ref-api-3: is_refname_available(): reimplement using do_for_each_ref_in_array() names_conflict(): simplify implementation names_conflict(): new function, extracted from is_refname_available() repack_without_ref(): reimplement using do_for_each_ref_in_array() do_for_each_ref_in_array(): new function do_for_each_ref(): correctly terminate while processesing extra_refs add_ref(): take a (struct ref_entry *) parameter create_ref_entry(): extract function from add_ref() parse_ref_line(): add a check that the refname is properly formatted repack_without_ref(): remove temporary Rename another local variable name -> refname
53 KiB
53 KiB