summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* Revert "Add new @ shortcut for HEAD"Junio C Hamano2013-08-141-4/+0
* Merge branch 'mh/packed-refs-do-one-ref-recursion'Junio C Hamano2013-07-311-1/+5
|\
| * do_one_ref(): save and restore value of current_refmh/packed-refs-do-one-ref-recursionMichael Haggerty2013-07-171-1/+5
* | Merge branch 'mh/ref-races-optim-invalidate-cached'Junio C Hamano2013-07-241-3/+6
|\ \
| * | refs: do not invalidate the packed-refs cache unnecessarilyMichael Haggerty2013-06-201-3/+6
* | | Merge branch 'mh/ref-races'Junio C Hamano2013-06-301-51/+265
|\ \ \ | |/ /
| * | for_each_ref: load all loose refs before packed refsJeff King2013-06-201-4/+35
| * | get_packed_ref_cache: reload packed-refs file when it changesJeff King2013-06-201-5/+16
| * | packed_ref_cache: increment refcount when lockedMichael Haggerty2013-06-201-1/+7
| * | do_for_each_entry(): increment the packed refs cache refcountMichael Haggerty2013-06-201-1/+4
| * | refs: manage lifetime of packed refs cache via reference countingMichael Haggerty2013-06-201-3/+36
| * | refs: implement simple transactions for the packed-refs fileMichael Haggerty2013-06-201-18/+70
| * | refs: wrap the packed refs cache in a level of indirectionMichael Haggerty2013-06-201-6/+26
| * | pack_refs(): split creation of packed refs and entry writingMichael Haggerty2013-06-201-14/+34
| * | repack_without_ref(): split list curation and entry writingMichael Haggerty2013-06-201-12/+50
* | | resolve_ref_unsafe(): close race condition reading loose refsMichael Haggerty2013-06-191-4/+24
* | | resolve_ref_unsafe(): handle the case of an SHA-1 within loopMichael Haggerty2013-06-191-9/+13
* | | resolve_ref_unsafe(): extract function handle_missing_loose_ref()Michael Haggerty2013-06-191-21/+35
|/ /
* | Merge branch 'fc/at-head'Junio C Hamano2013-06-111-0/+4
|\ \ | |/ |/|
| * Add new @ shortcut for HEADFelipe Contreras2013-05-081-0/+4
* | Merge branch 'mh/packed-refs-various'Junio C Hamano2013-05-291-171/+562
|\ \ | |/ |/|
| * refs: handle the main ref_cache speciallyMichael Haggerty2013-05-011-29/+31
| * refs: change do_for_each_*() functions to take ref_cache argumentsMichael Haggerty2013-05-011-15/+14
| * pack_one_ref(): do some cheap tests before a more expensive oneMichael Haggerty2013-05-011-6/+5
| * pack_one_ref(): use write_packed_entry() to do the writingMichael Haggerty2013-05-011-25/+8
| * pack_one_ref(): use function peel_entry()Michael Haggerty2013-05-011-16/+23
| * refs: inline function do_not_prune()Michael Haggerty2013-05-011-9/+2
| * pack_refs(): change to use do_for_each_entry()Michael Haggerty2013-05-011-14/+15
| * refs: use same lock_file object for both ref-packing functionsMichael Haggerty2013-05-011-6/+4
| * pack_one_ref(): rename "path" parameter to "refname"Michael Haggerty2013-05-011-7/+7
| * pack-refs: merge code from pack-refs.{c,h} into refs.{c,h}Michael Haggerty2013-05-011-0/+144
| * refs: extract a function write_packed_entry()Michael Haggerty2013-05-011-16/+30
| * repack_without_ref(): write peeled refs in the rewritten fileMichael Haggerty2013-05-011-0/+23
| * refs: change how packed refs are deletedMichael Haggerty2013-05-011-16/+68
| * search_ref_dir(): return an index rather than a pointerMichael Haggerty2013-05-011-12/+18
| * repack_without_ref(): silence errors for dangling packed refsMichael Haggerty2013-05-011-2/+35
| * refs: change the internal reference-iteration APIMichael Haggerty2013-05-011-61/+83
| * refs: extract a function peel_entry()Michael Haggerty2013-05-011-14/+49
| * peel_ref(): fix return value for non-peelable, not-current referenceMichael Haggerty2013-05-011-1/+4
| * peel_object(): give more specific information in return valueMichael Haggerty2013-05-011-8/+24
| * refs: extract function peel_object()Michael Haggerty2013-05-011-20/+30
| * refs: extract a function ref_resolves_to_object()Michael Haggerty2013-05-011-8/+20
| * repack_without_ref(): use function get_packed_ref()Michael Haggerty2013-05-011-3/+5
| * peel_ref(): use function get_packed_ref()Michael Haggerty2013-05-011-3/+2
| * get_packed_ref(): return a ref_entryMichael Haggerty2013-05-011-11/+9
| * do_for_each_ref_in_dirs(): remove dead codeMichael Haggerty2013-05-011-7/+0
| * refs: define constant PEELED_LINE_LENGTHMichael Haggerty2013-05-011-2/+5
| * refs: document how current_ref is usedMichael Haggerty2013-05-011-0/+9
| * refs: document do_for_each_ref() and do_one_ref()Michael Haggerty2013-05-011-1/+14
| * refs: document the fields of struct ref_valueMichael Haggerty2013-05-011-0/+12