summaryrefslogtreecommitdiffstats
path: root/refs.c
AgeCommit message (Expand)AuthorLines
2013-04-03Sync with 1.8.1 maintenance trackJunio C Hamano-5/+44
2013-04-03Merge branch 'jk/fully-peeled-packed-ref' into maint-1.8.1Junio C Hamano-5/+44
2013-03-18pack-refs: add fully-peeled traitMichael Haggerty-5/+44
2013-02-17Merge branch 'jc/hidden-refs'Junio C Hamano-0/+44
2013-02-07upload/receive-pack: allow hiding ref hierarchiesJunio C Hamano-0/+44
2013-01-23Merge branch 'rs/clarify-entry-cmp-sslice'Junio C Hamano-6/+4
2013-01-16refs: use strncmp() instead of strlen() and memcmp()René Scharfe-6/+4
2013-01-10Merge branch 'jk/repack-ref-racefix' into maintJunio C Hamano-1/+4
2013-01-02Merge branch 'jk/repack-ref-racefix'Junio C Hamano-1/+4
2012-12-21refs: do not use cached refs in repack_without_refJeff King-1/+4
2012-11-25Merge branch 'jh/update-ref-d-through-symref'Junio C Hamano-1/+1
2012-11-09Merge branch 'rs/lock-correct-ref-during-delete'Jeff King-13/+5
2012-10-21Fix failure to delete a packed ref through a symrefJohan Herland-1/+1
2012-10-16refs: lock symref that is to be deleted, not its targetRené Scharfe-13/+5
2012-10-04peel_ref: check object type before loadingJeff King-2/+9
2012-10-04peel_ref: do not return a null sha1Jeff King-0/+2
2012-10-04peel_ref: use faster deref_tag_noverifyJeff King-1/+1
2012-05-29Merge branch 'rs/refs-string-slice'Junio C Hamano-29/+41
2012-05-29Merge branch 'mh/ref-api-lazy-loose'Junio C Hamano-2/+7
2012-05-25Merge branch 'mh/ref-api'Junio C Hamano-0/+6
2012-05-24Avoid sorting if references are added to ref_cache in orderMichael Haggerty-0/+6
2012-05-22refs: do not create ref_entry when searchingJunio C Hamano-9/+23
2012-05-22refs: use strings directly in find_containing_dir()René Scharfe-9/+4
2012-05-22refs: convert parameter of create_dir_entry() to length-limited stringRené Scharfe-8/+10
2012-05-22refs: convert parameter of search_ref_dir() to length-limited stringRené Scharfe-6/+7
2012-05-20free_ref_entry(): do not trigger reading of loose refsMichael Haggerty-2/+7
2012-05-10Merge branch 'mh/ref-api-lazy-loose'Junio C Hamano-134/+242
2012-05-04refs: fix find_containing_dir() regressionJunio C Hamano-1/+3
2012-05-03refs: read loose references lazilyMichael Haggerty-29/+96
2012-05-03read_loose_refs(): eliminate ref_cache argumentMichael Haggerty-4/+4
2012-05-03struct ref_dir: store a reference to the enclosing ref_cacheMichael Haggerty-4/+11
2012-05-03search_for_subdir(): return (ref_dir *) instead of (ref_entry *)Michael Haggerty-11/+10
2012-05-03get_ref_dir(): add function for getting a ref_dir from a ref_entryMichael Haggerty-15/+25
2012-05-03read_loose_refs(): rename function from get_ref_dir()Michael Haggerty-7/+7
2012-05-03refs: wrap top-level ref_dirs in ref_entriesMichael Haggerty-18/+19
2012-05-03find_containing_dir(): use strbuf in implementation of this functionMichael Haggerty-9/+10
2012-05-03do_for_each_reflog(): use a strbuf to hold logfile nameMichael Haggerty-29/+31
2012-05-03do_for_each_reflog(): return early on errorMichael Haggerty-35/+35
2012-05-03get_ref_dir(): take the containing directory as argumentMichael Haggerty-4/+8
2012-05-03refs.c: extract function search_for_subdir()Michael Haggerty-10/+24
2012-05-03get_ref_dir(): require that the dirname argument ends in '/'Michael Haggerty-7/+7
2012-05-03get_ref_dir(): rename "base" parameter to "dirname"Michael Haggerty-10/+10
2012-05-03get_ref_dir(): use a strbuf to hold refnameMichael Haggerty-28/+26
2012-05-02Merge branch 'nd/i18n'Junio C Hamano-0/+1
2012-04-25get_ref_dir(): return early if directory cannot be readMichael Haggerty-41/+44
2012-04-24i18n: make warn_dangling_symref() automatically append \nNguyễn Thái Ngọc Duy-0/+1
2012-04-10do_for_each_ref(): only iterate over the subtree that was requestedMichael Haggerty-7/+28
2012-04-10refs: store references hierarchicallyMichael Haggerty-47/+227
2012-04-10sort_ref_dir(): simplify logicMichael Haggerty-10/+11
2012-04-10refs.c: rename ref_array -> ref_dirMichael Haggerty-98/+97