summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* refs.c: spell NULL pointer as NULLRamsay Jones2013-10-141-1/+1
* Merge branch 'fc/at-head'Junio C Hamano2013-09-201-1/+5
|\
| * Add new @ shortcut for HEADfc/at-headFelipe Contreras2013-09-121-0/+4
| * sha1-name: pass len argument to interpret_branch_name()Felipe Contreras2013-09-031-1/+1
* | Merge branch 'bk/refs-multi-update'Junio C Hamano2013-09-201-27/+168
|\ \
| * | refs: add update_refs for multiple simultaneous updatesBrad King2013-09-041-0/+100
| * | refs: add function to repack without multiple refsBrad King2013-09-041-9/+24
| * | refs: factor delete_ref loose ref step into a helperBrad King2013-09-041-10/+17
| * | refs: factor update_ref steps into helpersBrad King2013-09-041-6/+24
| * | refs: report ref type from lock_any_ref_for_updateBrad King2013-08-301-3/+4
| |/
* | Merge branch 'jc/push-cas'Junio C Hamano2013-09-091-8/+0
|\ \ | |/ |/|
| * cache.h: move remote/connect API out of itJunio C Hamano2013-07-081-8/+0
* | 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