summaryrefslogtreecommitdiff
path: root/refs/packed-backend.c
AgeCommit message (Expand)AuthorFilesLines
2017-09-25packed_ref_store: get rid of the `ref_cache` entirelyLibravatar Michael Haggerty1-27/+2
2017-09-25ref_store: implement `refs_peel_ref()` genericallyLibravatar Michael Haggerty1-36/+0
2017-09-25packed_read_raw_ref(): read the reference from the mmapped bufferLibravatar Michael Haggerty1-5/+9
2017-09-25packed_ref_iterator_begin(): iterate using `mmapped_ref_iterator`Libravatar Michael Haggerty1-3/+106
2017-09-25read_packed_refs(): ensure that references are ordered when readLibravatar Michael Haggerty1-11/+212
2017-09-25packed_ref_cache: keep the `packed-refs` file mmapped if possibleLibravatar Michael Haggerty1-42/+143
2017-09-25packed-backend.c: reorder some definitionsLibravatar Michael Haggerty1-24/+24
2017-09-25mmapped_ref_iterator_advance(): no peeled value for broken refsLibravatar Michael Haggerty1-2/+8
2017-09-25mmapped_ref_iterator: add iterator over a packed-refs fileLibravatar Michael Haggerty1-55/+152
2017-09-25packed_ref_cache: remember the file-wide peeling stateLibravatar Michael Haggerty1-5/+12
2017-09-25read_packed_refs(): read references with minimal copyingLibravatar Michael Haggerty1-61/+40
2017-09-19Merge branch 'mh/packed-ref-transactions'Libravatar Junio C Hamano1-152/+310
2017-09-14read_packed_refs(): make parsing of the header line more robustLibravatar Michael Haggerty1-6/+15
2017-09-14read_packed_refs(): only check for a header at the top of the fileLibravatar Michael Haggerty1-11/+24
2017-09-14read_packed_refs(): use mmap to read the `packed-refs` fileLibravatar Michael Haggerty1-10/+32
2017-09-14die_unterminated_line(), die_invalid_line(): new functionsLibravatar Michael Haggerty1-3/+25
2017-09-14packed_ref_cache: add a backlink to the associated `packed_ref_store`Libravatar Michael Haggerty1-7/+16
2017-09-14ref_iterator: keep track of whether the iterator output is orderedLibravatar Michael Haggerty1-1/+1
2017-09-09packed-backend: rip out some now-unused codeLibravatar Michael Haggerty1-193/+0
2017-09-09packed_delete_refs(): implement methodLibravatar Michael Haggerty1-1/+44
2017-09-09packed_ref_store: implement reference transactionsLibravatar Michael Haggerty1-3/+310
2017-09-09packed-backend: don't adjust the reference count on lock/unlockLibravatar Michael Haggerty1-5/+5
2017-09-06tempfile: auto-allocate tempfiles on heapLibravatar Jeff King1-5/+6
2017-09-06lockfile: do not rollback lock on failed closeLibravatar Jeff King1-1/+2
2017-08-22Merge branch 'mh/packed-ref-store'Libravatar Junio C Hamano1-0/+885
2017-07-27packed_ref_store: handle a packed-refs file that is a symlinkLibravatar Michael Haggerty1-6/+18
2017-07-03read_packed_refs(): die if `packed-refs` contains bogus dataLibravatar Michael Haggerty1-3/+7
2017-07-03repack_without_refs(): don't lock or unlock the packed refsLibravatar Michael Haggerty1-24/+8
2017-06-23commit_packed_refs(): remove call to `packed_refs_unlock()`Libravatar Michael Haggerty1-10/+8
2017-06-23clear_packed_ref_cache(): don't protest if the lock is heldLibravatar Michael Haggerty1-2/+0
2017-06-23packed_refs_unlock(), packed_refs_is_locked(): new functionsLibravatar Michael Haggerty1-6/+25
2017-06-23packed_refs_lock(): report errors via a `struct strbuf *err`Libravatar Michael Haggerty1-6/+11
2017-06-23packed_refs_lock(): function renamed from lock_packed_refs()Libravatar Michael Haggerty1-5/+5
2017-06-23commit_packed_refs(): use a staging file separate from the lockfileLibravatar Michael Haggerty1-8/+32
2017-06-23commit_packed_refs(): report errors rather than dyingLibravatar Michael Haggerty1-30/+55
2017-06-23packed_ref_store: make class into a subclass of `ref_store`Libravatar Michael Haggerty1-20/+212
2017-06-23packed-backend: new module for handling packed referencesLibravatar Michael Haggerty1-0/+623