summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2013-05-01refs: extract a function ref_resolves_to_object()Libravatar Michael Haggerty1-8/+20
2013-05-01repack_without_ref(): use function get_packed_ref()Libravatar Michael Haggerty1-3/+5
2013-05-01peel_ref(): use function get_packed_ref()Libravatar Michael Haggerty1-3/+2
2013-05-01get_packed_ref(): return a ref_entryLibravatar Michael Haggerty1-11/+9
2013-05-01do_for_each_ref_in_dirs(): remove dead codeLibravatar Michael Haggerty1-7/+0
2013-05-01refs: define constant PEELED_LINE_LENGTHLibravatar Michael Haggerty1-2/+5
2013-05-01refs: document how current_ref is usedLibravatar Michael Haggerty1-0/+9
2013-05-01refs: document do_for_each_ref() and do_one_ref()Libravatar Michael Haggerty1-1/+14
2013-05-01refs: document the fields of struct ref_valueLibravatar Michael Haggerty1-0/+12
2013-05-01refs: document flags constants REF_*Libravatar Michael Haggerty1-1/+11
2013-04-03Merge branch 'jk/fully-peeled-packed-ref' into maint-1.8.1Libravatar Junio C Hamano1-5/+44
2013-03-18pack-refs: add fully-peeled traitLibravatar Michael Haggerty1-5/+44
2013-01-10Merge branch 'jk/repack-ref-racefix' into maintLibravatar Junio C Hamano1-1/+4
2012-12-21refs: do not use cached refs in repack_without_refLibravatar Jeff King1-1/+4
2012-11-25Merge branch 'jh/update-ref-d-through-symref'Libravatar Junio C Hamano1-1/+1
2012-11-09Merge branch 'rs/lock-correct-ref-during-delete'Libravatar Jeff King1-13/+5
2012-10-21Fix failure to delete a packed ref through a symrefLibravatar Johan Herland1-1/+1
2012-10-16refs: lock symref that is to be deleted, not its targetLibravatar René Scharfe1-13/+5
2012-10-04peel_ref: check object type before loadingLibravatar Jeff King1-2/+9
2012-10-04peel_ref: do not return a null sha1Libravatar Jeff King1-0/+2
2012-10-04peel_ref: use faster deref_tag_noverifyLibravatar Jeff King1-1/+1
2012-05-29Merge branch 'rs/refs-string-slice'Libravatar Junio C Hamano1-29/+41
2012-05-29Merge branch 'mh/ref-api-lazy-loose'Libravatar Junio C Hamano1-2/+7
2012-05-25Merge branch 'mh/ref-api'Libravatar Junio C Hamano1-0/+6
2012-05-24Avoid sorting if references are added to ref_cache in orderLibravatar Michael Haggerty1-0/+6
2012-05-22refs: do not create ref_entry when searchingLibravatar Junio C Hamano1-9/+23
2012-05-22refs: use strings directly in find_containing_dir()Libravatar René Scharfe1-9/+4
2012-05-22refs: convert parameter of create_dir_entry() to length-limited stringLibravatar René Scharfe1-8/+10
2012-05-22refs: convert parameter of search_ref_dir() to length-limited stringLibravatar René Scharfe1-6/+7
2012-05-20free_ref_entry(): do not trigger reading of loose refsLibravatar Michael Haggerty1-2/+7
2012-05-10Merge branch 'mh/ref-api-lazy-loose'Libravatar Junio C Hamano1-134/+242
2012-05-04refs: fix find_containing_dir() regressionLibravatar Junio C Hamano1-1/+3
2012-05-03refs: read loose references lazilyLibravatar Michael Haggerty1-29/+96
2012-05-03read_loose_refs(): eliminate ref_cache argumentLibravatar Michael Haggerty1-4/+4
2012-05-03struct ref_dir: store a reference to the enclosing ref_cacheLibravatar Michael Haggerty1-4/+11
2012-05-03search_for_subdir(): return (ref_dir *) instead of (ref_entry *)Libravatar Michael Haggerty1-11/+10
2012-05-03get_ref_dir(): add function for getting a ref_dir from a ref_entryLibravatar Michael Haggerty1-15/+25
2012-05-03read_loose_refs(): rename function from get_ref_dir()Libravatar Michael Haggerty1-7/+7
2012-05-03refs: wrap top-level ref_dirs in ref_entriesLibravatar Michael Haggerty1-18/+19
2012-05-03find_containing_dir(): use strbuf in implementation of this functionLibravatar Michael Haggerty1-9/+10
2012-05-03do_for_each_reflog(): use a strbuf to hold logfile nameLibravatar Michael Haggerty1-29/+31
2012-05-03do_for_each_reflog(): return early on errorLibravatar Michael Haggerty1-35/+35
2012-05-03get_ref_dir(): take the containing directory as argumentLibravatar Michael Haggerty1-4/+8
2012-05-03refs.c: extract function search_for_subdir()Libravatar Michael Haggerty1-10/+24
2012-05-03get_ref_dir(): require that the dirname argument ends in '/'Libravatar Michael Haggerty1-7/+7
2012-05-03get_ref_dir(): rename "base" parameter to "dirname"Libravatar Michael Haggerty1-10/+10
2012-05-03get_ref_dir(): use a strbuf to hold refnameLibravatar Michael Haggerty1-28/+26
2012-05-02Merge branch 'nd/i18n'Libravatar Junio C Hamano1-0/+1
2012-04-25get_ref_dir(): return early if directory cannot be readLibravatar Michael Haggerty1-41/+44
2012-04-24i18n: make warn_dangling_symref() automatically append \nLibravatar Nguyễn Thái Ngọc Duy1-0/+1