summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2013-09-04refs: add function to repack without multiple refsLibravatar Brad King1-9/+24
2013-09-04refs: factor delete_ref loose ref step into a helperLibravatar Brad King1-10/+17
2013-09-04refs: factor update_ref steps into helpersLibravatar Brad King1-6/+24
2013-09-03sha1-name: pass len argument to interpret_branch_name()Libravatar Felipe Contreras1-1/+1
2013-08-30refs: report ref type from lock_any_ref_for_updateLibravatar Brad King1-3/+4
2013-08-14Revert "Add new @ shortcut for HEAD"Libravatar Junio C Hamano1-4/+0
2013-07-31Merge branch 'mh/packed-refs-do-one-ref-recursion'Libravatar Junio C Hamano1-1/+5
2013-07-24Merge branch 'mh/ref-races-optim-invalidate-cached'Libravatar Junio C Hamano1-3/+6
2013-07-17do_one_ref(): save and restore value of current_refLibravatar Michael Haggerty1-1/+5
2013-07-08cache.h: move remote/connect API out of itLibravatar Junio C Hamano1-8/+0
2013-06-30Merge branch 'mh/ref-races'Libravatar Junio C Hamano1-51/+265
2013-06-20refs: do not invalidate the packed-refs cache unnecessarilyLibravatar Michael Haggerty1-3/+6
2013-06-20for_each_ref: load all loose refs before packed refsLibravatar Jeff King1-4/+35
2013-06-20get_packed_ref_cache: reload packed-refs file when it changesLibravatar Jeff King1-5/+16
2013-06-20packed_ref_cache: increment refcount when lockedLibravatar Michael Haggerty1-1/+7
2013-06-20do_for_each_entry(): increment the packed refs cache refcountLibravatar Michael Haggerty1-1/+4
2013-06-20refs: manage lifetime of packed refs cache via reference countingLibravatar Michael Haggerty1-3/+36
2013-06-20refs: implement simple transactions for the packed-refs fileLibravatar Michael Haggerty1-18/+70
2013-06-20refs: wrap the packed refs cache in a level of indirectionLibravatar Michael Haggerty1-6/+26
2013-06-20pack_refs(): split creation of packed refs and entry writingLibravatar Michael Haggerty1-14/+34
2013-06-20repack_without_ref(): split list curation and entry writingLibravatar Michael Haggerty1-12/+50
2013-06-19resolve_ref_unsafe(): close race condition reading loose refsLibravatar Michael Haggerty1-4/+24
2013-06-19resolve_ref_unsafe(): handle the case of an SHA-1 within loopLibravatar Michael Haggerty1-9/+13
2013-06-19resolve_ref_unsafe(): extract function handle_missing_loose_ref()Libravatar Michael Haggerty1-21/+35
2013-06-11Merge branch 'fc/at-head'Libravatar Junio C Hamano1-0/+4
2013-05-29Merge branch 'mh/packed-refs-various'Libravatar Junio C Hamano1-171/+562
2013-05-08Add new @ shortcut for HEADLibravatar Felipe Contreras1-0/+4
2013-05-01refs: handle the main ref_cache speciallyLibravatar Michael Haggerty1-29/+31
2013-05-01refs: change do_for_each_*() functions to take ref_cache argumentsLibravatar Michael Haggerty1-15/+14
2013-05-01pack_one_ref(): do some cheap tests before a more expensive oneLibravatar Michael Haggerty1-6/+5
2013-05-01pack_one_ref(): use write_packed_entry() to do the writingLibravatar Michael Haggerty1-25/+8
2013-05-01pack_one_ref(): use function peel_entry()Libravatar Michael Haggerty1-16/+23
2013-05-01refs: inline function do_not_prune()Libravatar Michael Haggerty1-9/+2
2013-05-01pack_refs(): change to use do_for_each_entry()Libravatar Michael Haggerty1-14/+15
2013-05-01refs: use same lock_file object for both ref-packing functionsLibravatar Michael Haggerty1-6/+4
2013-05-01pack_one_ref(): rename "path" parameter to "refname"Libravatar Michael Haggerty1-7/+7
2013-05-01pack-refs: merge code from pack-refs.{c,h} into refs.{c,h}Libravatar Michael Haggerty1-0/+144
2013-05-01refs: extract a function write_packed_entry()Libravatar Michael Haggerty1-16/+30
2013-05-01repack_without_ref(): write peeled refs in the rewritten fileLibravatar Michael Haggerty1-0/+23
2013-05-01refs: change how packed refs are deletedLibravatar Michael Haggerty1-16/+68
2013-05-01search_ref_dir(): return an index rather than a pointerLibravatar Michael Haggerty1-12/+18
2013-05-01repack_without_ref(): silence errors for dangling packed refsLibravatar Michael Haggerty1-2/+35
2013-05-01refs: change the internal reference-iteration APILibravatar Michael Haggerty1-61/+83
2013-05-01refs: extract a function peel_entry()Libravatar Michael Haggerty1-14/+49
2013-05-01peel_ref(): fix return value for non-peelable, not-current referenceLibravatar Michael Haggerty1-1/+4
2013-05-01peel_object(): give more specific information in return valueLibravatar Michael Haggerty1-8/+24
2013-05-01refs: extract function peel_object()Libravatar Michael Haggerty1-20/+30
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