summaryrefslogtreecommitdiff
path: root/refs/packed-backend.c
Commit message (Expand)AuthorAgeFilesLines
* packed-backend.c: rename a bunch of things and update commentsmh/mmap-packed-refsMichael Haggerty2017-09-251-190/+232
* mmapped_ref_iterator: inline into `packed_ref_iterator`Michael Haggerty2017-09-251-170/+114
* ref_cache: remove support for storing peeled valuesMichael Haggerty2017-09-251-1/+8
* packed_ref_store: get rid of the `ref_cache` entirelyMichael Haggerty2017-09-251-27/+2
* ref_store: implement `refs_peel_ref()` genericallyMichael Haggerty2017-09-251-36/+0
* packed_read_raw_ref(): read the reference from the mmapped bufferMichael Haggerty2017-09-251-5/+9
* packed_ref_iterator_begin(): iterate using `mmapped_ref_iterator`Michael Haggerty2017-09-251-3/+106
* read_packed_refs(): ensure that references are ordered when readMichael Haggerty2017-09-251-11/+212
* 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
* ref_iterator: keep track of whether the iterator output is orderedMichael Haggerty2017-09-141-1/+1
* packed-backend: rip out some now-unused codeMichael Haggerty2017-09-091-193/+0
* packed_delete_refs(): implement methodMichael Haggerty2017-09-091-1/+44
* packed_ref_store: implement reference transactionsMichael Haggerty2017-09-091-3/+310
* packed-backend: don't adjust the reference count on lock/unlockMichael Haggerty2017-09-091-5/+5
* Merge branch 'mh/packed-ref-store'Junio C Hamano2017-08-221-0/+1
* 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-031-24/+8
* commit_packed_refs(): remove call to `packed_refs_unlock()`Michael Haggerty2017-06-231-10/+8
* 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-231-6/+25
* packed_refs_lock(): report errors via a `struct strbuf *err`Michael Haggerty2017-06-231-6/+11
* packed_refs_lock(): function renamed from lock_packed_refs()Michael Haggerty2017-06-231-5/+5
* 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-231-30/+55
* packed_ref_store: make class into a subclass of `ref_store`Michael Haggerty2017-06-231-20/+212
* packed-backend: new module for handling packed referencesMichael Haggerty2017-06-231-0/+623