summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)Author
2012-11-27Merge branch 'jh/update-ref-d-through-symref' into maintJunio C Hamano
2012-10-21Fix failure to delete a packed ref through a symrefJohan Herland
2012-10-16refs: lock symref that is to be deleted, not its targetRené Scharfe
2012-05-29Merge branch 'rs/refs-string-slice'Junio C Hamano
2012-05-29Merge branch 'mh/ref-api-lazy-loose'Junio C Hamano
2012-05-25Merge branch 'mh/ref-api'Junio C Hamano
2012-05-24Avoid sorting if references are added to ref_cache in orderMichael Haggerty
2012-05-22refs: do not create ref_entry when searchingJunio C Hamano
2012-05-22refs: use strings directly in find_containing_dir()René Scharfe
2012-05-22refs: convert parameter of create_dir_entry() to length-limited stringRené Scharfe
2012-05-22refs: convert parameter of search_ref_dir() to length-limited stringRené Scharfe
2012-05-20free_ref_entry(): do not trigger reading of loose refsMichael Haggerty
2012-05-10Merge branch 'mh/ref-api-lazy-loose'Junio C Hamano
2012-05-04refs: fix find_containing_dir() regressionJunio C Hamano
2012-05-03refs: read loose references lazilyMichael Haggerty
2012-05-03read_loose_refs(): eliminate ref_cache argumentMichael Haggerty
2012-05-03struct ref_dir: store a reference to the enclosing ref_cacheMichael Haggerty
2012-05-03search_for_subdir(): return (ref_dir *) instead of (ref_entry *)Michael Haggerty
2012-05-03get_ref_dir(): add function for getting a ref_dir from a ref_entryMichael Haggerty
2012-05-03read_loose_refs(): rename function from get_ref_dir()Michael Haggerty
2012-05-03refs: wrap top-level ref_dirs in ref_entriesMichael Haggerty
2012-05-03find_containing_dir(): use strbuf in implementation of this functionMichael Haggerty
2012-05-03do_for_each_reflog(): use a strbuf to hold logfile nameMichael Haggerty
2012-05-03do_for_each_reflog(): return early on errorMichael Haggerty
2012-05-03get_ref_dir(): take the containing directory as argumentMichael Haggerty
2012-05-03refs.c: extract function search_for_subdir()Michael Haggerty
2012-05-03get_ref_dir(): require that the dirname argument ends in '/'Michael Haggerty
2012-05-03get_ref_dir(): rename "base" parameter to "dirname"Michael Haggerty
2012-05-03get_ref_dir(): use a strbuf to hold refnameMichael Haggerty
2012-05-02Merge branch 'nd/i18n'Junio C Hamano
2012-04-25get_ref_dir(): return early if directory cannot be readMichael Haggerty
2012-04-24i18n: make warn_dangling_symref() automatically append \nNguyễn Thái Ngọc Duy
2012-04-10do_for_each_ref(): only iterate over the subtree that was requestedMichael Haggerty
2012-04-10refs: store references hierarchicallyMichael Haggerty
2012-04-10sort_ref_dir(): simplify logicMichael Haggerty
2012-04-10refs.c: rename ref_array -> ref_dirMichael Haggerty
2012-04-10struct ref_entry: nest the value part in a unionMichael Haggerty
2012-04-10check_refname_component(): return 0 for zero-length componentsMichael Haggerty
2012-04-10free_ref_entry(): new functionMichael Haggerty
2012-04-10names_conflict(): simplify implementationMichael Haggerty
2012-04-10repack_without_ref(): reimplement using do_for_each_ref_in_array()Michael Haggerty
2012-04-10do_for_each_ref_in_arrays(): new functionMichael Haggerty
2012-04-10do_for_each_ref_in_array(): new functionMichael Haggerty
2012-04-10refs: manage current_ref within do_one_ref()Michael Haggerty
2012-04-10refs.c: reorder definitions more logicallyMichael Haggerty
2012-02-13refs: remove the extra_refs APIMichael Haggerty
2012-01-17add_packed_ref(): new function in the refs API.Michael Haggerty
2012-01-17ref_array: keep track of whether references are sortedMichael Haggerty
2011-12-20Merge branch 'mh/ref-api'Junio C Hamano
2011-12-13Rename resolve_ref() to resolve_ref_unsafe()Nguyễn Thái Ngọc Duy