summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
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
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-26Merge branch 'jc/reflog-reverse-walk'Libravatar Junio C Hamano1-46/+115
2013-03-25Merge branch 'jk/fully-peeled-packed-ref'Libravatar Junio C Hamano1-5/+44
2013-03-23refs.c: fix fread error handlingLibravatar John Keeping1-1/+1
2013-03-18pack-refs: add fully-peeled traitLibravatar Michael Haggerty1-5/+44
2013-03-08reflog: add for_each_reflog_ent_reverse() APILibravatar Junio C Hamano1-16/+86
2013-03-08for_each_recent_reflog_ent(): simplify opening of a reflog fileLibravatar Junio C Hamano1-3/+1
2013-03-08for_each_reflog_ent(): extract a helper to process a single entryLibravatar Junio C Hamano1-29/+30
2013-02-17Merge branch 'jc/hidden-refs'Libravatar Junio C Hamano1-0/+44
2013-02-07upload/receive-pack: allow hiding ref hierarchiesLibravatar Junio C Hamano1-0/+44
2013-01-23Merge branch 'rs/clarify-entry-cmp-sslice'Libravatar Junio C Hamano1-6/+4
2013-01-16refs: use strncmp() instead of strlen() and memcmp()Libravatar René Scharfe1-6/+4
2013-01-10Merge branch 'jk/repack-ref-racefix' into maintLibravatar Junio C Hamano1-1/+4
2013-01-02Merge branch 'jk/repack-ref-racefix'Libravatar 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