summaryrefslogtreecommitdiff
path: root/refs
Commit message (Expand)AuthorAgeFilesLines
* packed_ref_cache: keep the `packed-refs` file mmapped if possibleMichael Haggerty2017-09-251-42/+143
* packed-backend.c: reorder some definitionsMichael Haggerty2017-09-251-24/+24
* mmapped_ref_iterator_advance(): no peeled value for broken refsMichael Haggerty2017-09-251-2/+8
* mmapped_ref_iterator: add iterator over a packed-refs fileMichael Haggerty2017-09-251-55/+152
* packed_ref_cache: remember the file-wide peeling stateMichael Haggerty2017-09-251-5/+12
* read_packed_refs(): read references with minimal copyingMichael Haggerty2017-09-251-61/+40
* read_packed_refs(): make parsing of the header line more robustMichael Haggerty2017-09-141-6/+15
* read_packed_refs(): only check for a header at the top of the fileMichael Haggerty2017-09-141-11/+24
* read_packed_refs(): use mmap to read the `packed-refs` fileMichael Haggerty2017-09-141-10/+32
* die_unterminated_line(), die_invalid_line(): new functionsMichael Haggerty2017-09-141-3/+25
* packed_ref_cache: add a backlink to the associated `packed_ref_store`Michael Haggerty2017-09-141-7/+16
* prefix_ref_iterator: break when we leave the prefixJeff King2017-09-141-1/+31
* ref_iterator: keep track of whether the iterator output is orderedMichael Haggerty2017-09-146-19/+42
* files_transaction_finish(): delete reflogs before referencesmh/packed-ref-transactionsMichael Haggerty2017-09-091-14/+21
* packed-backend: rip out some now-unused codeMichael Haggerty2017-09-092-201/+0
* 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-092-2/+45
* packed_ref_store: implement reference transactionsMichael Haggerty2017-09-092-3/+319
* struct ref_transaction: add a place for backends to store dataMichael Haggerty2017-09-091-0/+1
* packed-backend: don't adjust the reference count on lock/unlockMichael Haggerty2017-09-091-5/+5
* Merge branch 'mh/ref-lock-entry'Junio C Hamano2017-08-262-2/+12
|\
| * refs: retry acquiring reference locks for 100msmh/ref-lock-entryMichael Haggerty2017-08-232-2/+12
* | Merge branch 'mh/packed-ref-store'Junio C Hamano2017-08-224-564/+995
|\ \ | |/ |/|
| * files-backend: cheapen refname_available check when locking refsmh/packed-ref-storeMichael Haggerty2017-08-171-4/+4
| * packed_ref_store: handle a packed-refs file that is a symlinkMichael Haggerty2017-07-271-6/+18
| * read_packed_refs(): die if `packed-refs` contains bogus dataMichael Haggerty2017-07-031-3/+7
| * repack_without_refs(): don't lock or unlock the packed refsMichael Haggerty2017-07-032-40/+39
| * commit_packed_refs(): remove call to `packed_refs_unlock()`Michael Haggerty2017-06-232-10/+10
| * clear_packed_ref_cache(): don't protest if the lock is heldMichael Haggerty2017-06-231-2/+0
| * packed_refs_unlock(), packed_refs_is_locked(): new functionsMichael Haggerty2017-06-232-6/+28
| * packed_refs_lock(): report errors via a `struct strbuf *err`Michael Haggerty2017-06-233-13/+16
| * packed_refs_lock(): function renamed from lock_packed_refs()Michael Haggerty2017-06-233-8/+8
| * commit_packed_refs(): use a staging file separate from the lockfileMichael Haggerty2017-06-231-8/+32
| * commit_packed_refs(): report errors rather than dyingMichael Haggerty2017-06-233-36/+61
| * packed_ref_store: make class into a subclass of `ref_store`Michael Haggerty2017-06-234-45/+227
| * packed-backend: new module for handling packed referencesMichael Haggerty2017-06-234-639/+666
| * 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