summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
AgeCommit message (Expand)AuthorFilesLines
2017-08-26Merge branch 'mh/ref-lock-entry'Libravatar Junio C Hamano1-2/+6
2017-08-23refs: retry acquiring reference locks for 100msLibravatar Michael Haggerty1-2/+6
2017-08-22Merge branch 'mh/packed-ref-store'Libravatar Junio C Hamano1-564/+75
2017-08-17files-backend: cheapen refname_available check when locking refsLibravatar Michael Haggerty1-4/+4
2017-07-03repack_without_refs(): don't lock or unlock the packed refsLibravatar Michael Haggerty1-16/+31
2017-06-26Merge branch 'mh/packed-ref-store-prep'Libravatar Junio C Hamano1-9/+23
2017-06-24Merge branch 'ab/free-and-null'Libravatar Junio C Hamano1-2/+1
2017-06-24Merge branch 'bw/config-h'Libravatar Junio C Hamano1-0/+1
2017-06-23commit_packed_refs(): remove call to `packed_refs_unlock()`Libravatar Michael Haggerty1-0/+2
2017-06-23packed_refs_lock(): report errors via a `struct strbuf *err`Libravatar Michael Haggerty1-4/+2
2017-06-23packed_refs_lock(): function renamed from lock_packed_refs()Libravatar Michael Haggerty1-2/+2
2017-06-23commit_packed_refs(): report errors rather than dyingLibravatar Michael Haggerty1-5/+5
2017-06-23packed_ref_store: make class into a subclass of `ref_store`Libravatar Michael Haggerty1-8/+8
2017-06-23packed-backend: new module for handling packed referencesLibravatar Michael Haggerty1-639/+1
2017-06-23packed_read_raw_ref(): new function, replacing `resolve_packed_ref()`Libravatar Michael Haggerty1-19/+17
2017-06-23packed_ref_store: support iterationLibravatar Michael Haggerty1-9/+110
2017-06-23packed_peel_ref(): new function, extracted from `files_peel_ref()`Libravatar Michael Haggerty1-11/+15
2017-06-23repack_without_refs(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-10/+10
2017-06-23get_packed_ref(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-5/+7
2017-06-23rollback_packed_refs(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-8/+7
2017-06-23commit_packed_refs(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-9/+9
2017-06-23lock_packed_refs(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-9/+22
2017-06-23add_packed_ref(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-5/+5
2017-06-23get_packed_refs(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-5/+5
2017-06-23get_packed_ref_cache(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-14/+12
2017-06-23validate_packed_ref_cache(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-7/+6
2017-06-23clear_packed_ref_cache(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-8/+8
2017-06-23packed_ref_store: move `packed_refs_lock` member hereLibravatar Michael Haggerty1-15/+16
2017-06-23packed_ref_store: move `packed_refs_path` hereLibravatar Michael Haggerty1-13/+12
2017-06-23packed_ref_store: new structLibravatar Michael Haggerty1-9/+33
2017-06-23add_packed_ref(): teach function to overwrite existing refsLibravatar Michael Haggerty1-22/+18
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleLibravatar Ævar Arnfjörð Bjarmason1-2/+1
2017-06-15config: don't include config.h by defaultLibravatar Brandon Williams1-0/+1
2017-06-12lock_packed_refs(): fix cache validity checkLibravatar Michael Haggerty1-9/+23
2017-05-23create_ref_entry(): remove `check_name` optionLibravatar Michael Haggerty1-4/+8
2017-05-23refs_ref_iterator_begin(): handle `GIT_REF_PARANOIA`Libravatar Michael Haggerty1-7/+4
2017-05-23read_packed_refs(): report unexpected fopen() failuresLibravatar Michael Haggerty1-2/+12
2017-05-23read_packed_refs(): do more of the work of reading packed refsLibravatar Michael Haggerty1-16/+24
2017-05-23get_packed_ref_cache(): assume "packed-refs" won't change while lockedLibravatar Michael Haggerty1-5/+11
2017-05-23should_pack_ref(): new function, extracted from `files_pack_refs()`Libravatar Michael Haggerty1-14/+28
2017-05-23ref_update_reject_duplicates(): expose function to whole refs moduleLibravatar Michael Haggerty1-17/+0
2017-05-23ref_transaction_prepare(): new optional step for reference updatesLibravatar Michael Haggerty1-13/+50
2017-05-23ref_transaction_commit(): check for valid `transaction->state`Libravatar Michael Haggerty1-3/+0
2017-05-23files_transaction_cleanup(): new helper functionLibravatar Michael Haggerty1-9/+24
2017-05-23files_ref_store: put the packed files lock directly in this structLibravatar Michael Haggerty1-18/+11
2017-05-23files-backend: move `lock` member to `files_ref_store`Libravatar Michael Haggerty1-19/+17
2017-05-23ref_store: take a `msg` parameter when deleting referencesLibravatar Michael Haggerty1-2/+2
2017-05-23refs: use `size_t` indexes when iterating over ref transaction updatesLibravatar Michael Haggerty1-2/+4
2017-05-23files-backend: use `die("BUG: ...")`, not `die("internal error: ...")`Libravatar Michael Haggerty1-4/+4
2017-05-23Merge branch 'bc/object-id'Libravatar Junio C Hamano1-82/+74