summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
Commit message (Expand)AuthorAgeFilesLines
* files_transaction_prepare(): fix handling of ref lock failuremh/ref-locking-fixMichael Haggerty2017-10-251-1/+1
* files_transaction_finish(): delete reflogs before referencesmh/packed-ref-transactionsMichael Haggerty2017-09-091-14/+21
* files_ref_store: use a transaction to update packed refsMichael Haggerty2017-09-091-31/+101
* files_initial_transaction_commit(): use a transaction for packed refsMichael Haggerty2017-09-091-10/+19
* prune_refs(): also free the linked listMichael Haggerty2017-09-091-4/+10
* files_pack_refs(): use a reference transaction to write packed refsMichael Haggerty2017-09-091-7/+17
* packed_delete_refs(): implement methodMichael Haggerty2017-09-091-1/+1
* Merge branch 'mh/ref-lock-entry'Junio C Hamano2017-08-261-2/+6
|\
| * refs: retry acquiring reference locks for 100msmh/ref-lock-entryMichael Haggerty2017-08-231-2/+6
* | Merge branch 'mh/packed-ref-store'Junio C Hamano2017-08-221-564/+75
|\ \ | |/ |/|
| * files-backend: cheapen refname_available check when locking refsmh/packed-ref-storeMichael Haggerty2017-08-171-4/+4
| * repack_without_refs(): don't lock or unlock the packed refsMichael Haggerty2017-07-031-16/+31
| * commit_packed_refs(): remove call to `packed_refs_unlock()`Michael Haggerty2017-06-231-0/+2
| * packed_refs_lock(): report errors via a `struct strbuf *err`Michael Haggerty2017-06-231-4/+2
| * packed_refs_lock(): function renamed from lock_packed_refs()Michael Haggerty2017-06-231-2/+2
| * commit_packed_refs(): report errors rather than dyingMichael Haggerty2017-06-231-5/+5
| * packed_ref_store: make class into a subclass of `ref_store`Michael Haggerty2017-06-231-8/+8
| * packed-backend: new module for handling packed referencesMichael Haggerty2017-06-231-639/+1
| * packed_read_raw_ref(): new function, replacing `resolve_packed_ref()`Michael Haggerty2017-06-231-19/+17
| * packed_ref_store: support iterationMichael Haggerty2017-06-231-9/+110
| * packed_peel_ref(): new function, extracted from `files_peel_ref()`Michael Haggerty2017-06-231-11/+15
| * repack_without_refs(): take a `packed_ref_store *` parameterMichael Haggerty2017-06-231-10/+10
| * get_packed_ref(): take a `packed_ref_store *` parameterMichael Haggerty2017-06-231-5/+7
| * rollback_packed_refs(): take a `packed_ref_store *` parameterMichael Haggerty2017-06-231-8/+7
| * commit_packed_refs(): take a `packed_ref_store *` parameterMichael Haggerty2017-06-231-9/+9
| * lock_packed_refs(): take a `packed_ref_store *` parameterMichael Haggerty2017-06-231-9/+22
| * add_packed_ref(): take a `packed_ref_store *` parameterMichael Haggerty2017-06-231-5/+5
| * get_packed_refs(): take a `packed_ref_store *` parameterMichael Haggerty2017-06-231-5/+5
| * get_packed_ref_cache(): take a `packed_ref_store *` parameterMichael Haggerty2017-06-231-14/+12
| * validate_packed_ref_cache(): take a `packed_ref_store *` parameterMichael Haggerty2017-06-231-7/+6
| * clear_packed_ref_cache(): take a `packed_ref_store *` parameterMichael Haggerty2017-06-231-8/+8
| * packed_ref_store: move `packed_refs_lock` member hereMichael Haggerty2017-06-231-15/+16
| * packed_ref_store: move `packed_refs_path` hereMichael Haggerty2017-06-231-13/+12
| * packed_ref_store: new structMichael Haggerty2017-06-231-9/+33
| * add_packed_ref(): teach function to overwrite existing refsMichael Haggerty2017-06-231-22/+18
* | Merge branch 'mh/packed-ref-store-prep'Junio C Hamano2017-06-261-9/+23
|\ \ | |/
| * lock_packed_refs(): fix cache validity checkMichael Haggerty2017-06-121-9/+23
* | Merge branch 'ab/free-and-null'Junio C Hamano2017-06-241-2/+1
|\ \
| * | coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason2017-06-161-2/+1
| |/
* | Merge branch 'bw/config-h'Junio C Hamano2017-06-241-0/+1
|\ \ | |/ |/|
| * config: don't include config.h by defaultBrandon Williams2017-06-151-0/+1
* | create_ref_entry(): remove `check_name` optionMichael Haggerty2017-05-231-4/+8
* | refs_ref_iterator_begin(): handle `GIT_REF_PARANOIA`Michael Haggerty2017-05-231-7/+4
* | read_packed_refs(): report unexpected fopen() failuresMichael Haggerty2017-05-231-2/+12
* | read_packed_refs(): do more of the work of reading packed refsMichael Haggerty2017-05-231-16/+24
* | get_packed_ref_cache(): assume "packed-refs" won't change while lockedMichael Haggerty2017-05-231-5/+11
* | should_pack_ref(): new function, extracted from `files_pack_refs()`Michael Haggerty2017-05-231-14/+28
* | ref_update_reject_duplicates(): expose function to whole refs moduleMichael Haggerty2017-05-231-17/+0
* | ref_transaction_prepare(): new optional step for reference updatesMichael Haggerty2017-05-231-13/+50
* | ref_transaction_commit(): check for valid `transaction->state`Michael Haggerty2017-05-231-3/+0