summaryrefslogtreecommitdiff
path: root/refs
AgeCommit message (Expand)AuthorFilesLines
2017-09-25ref_cache: remove support for storing peeled valuesMichael Haggerty3-72/+11
2017-09-25packed_ref_store: get rid of the `ref_cache` entirelyMichael Haggerty1-27/+2
2017-09-25ref_store: implement `refs_peel_ref()` genericallyMichael Haggerty3-77/+0
2017-09-25packed_read_raw_ref(): read the reference from the mmapped bufferMichael Haggerty1-5/+9
2017-09-25packed_ref_iterator_begin(): iterate using `mmapped_ref_iterator`Michael Haggerty1-3/+106
2017-09-25read_packed_refs(): ensure that references are ordered when readMichael Haggerty1-11/+212
2017-09-25packed_ref_cache: keep the `packed-refs` file mmapped if possibleMichael Haggerty1-42/+143
2017-09-25packed-backend.c: reorder some definitionsMichael Haggerty1-24/+24
2017-09-25mmapped_ref_iterator_advance(): no peeled value for broken refsMichael Haggerty1-2/+8
2017-09-25mmapped_ref_iterator: add iterator over a packed-refs fileMichael Haggerty1-55/+152
2017-09-25packed_ref_cache: remember the file-wide peeling stateMichael Haggerty1-5/+12
2017-09-25read_packed_refs(): read references with minimal copyingMichael Haggerty1-61/+40
2017-09-25Merge branch 'jk/write-in-full-fix'Junio C Hamano1-5/+5
2017-09-24refs: pass NULL to refs_resolve_ref_unsafe() if hash is not neededRené Scharfe1-2/+1
2017-09-19Merge branch 'mh/packed-ref-transactions'Junio C Hamano4-215/+477
2017-09-19Merge branch 'jk/incore-lockfile-removal'Junio C Hamano2-34/+30
2017-09-19Merge branch 'nd/prune-in-worktree'Junio C Hamano1-14/+45
2017-09-19Merge branch 'ma/split-symref-update-fix'Junio C Hamano1-18/+44
2017-09-14read_packed_refs(): make parsing of the header line more robustMichael Haggerty1-6/+15
2017-09-14read_packed_refs(): only check for a header at the top of the fileMichael Haggerty1-11/+24
2017-09-14read_packed_refs(): use mmap to read the `packed-refs` fileMichael Haggerty1-10/+32
2017-09-14die_unterminated_line(), die_invalid_line(): new functionsMichael Haggerty1-3/+25
2017-09-14packed_ref_cache: add a backlink to the associated `packed_ref_store`Michael Haggerty1-7/+16
2017-09-14prefix_ref_iterator: break when we leave the prefixJeff King1-1/+31
2017-09-14ref_iterator: keep track of whether the iterator output is orderedMichael Haggerty6-19/+42
2017-09-14convert less-trivial versions of "write_in_full() != len"Jeff King1-1/+1
2017-09-14avoid "write_in_full(fd, buf, len) != len" patternJeff King1-4/+4
2017-09-10refs/files-backend: add `refname`, not "HEAD", to listMartin Ågren1-3/+10
2017-09-10refs/files-backend: correct return value in lock_ref_for_updateMartin Ågren1-1/+1
2017-09-10refs/files-backend: fix memory leak in lock_ref_for_updateMartin Ågren1-11/+20
2017-09-10refs/files-backend: add longer-scoped copy of string to listMartin Ågren1-4/+14
2017-09-09files_transaction_finish(): delete reflogs before referencesMichael Haggerty1-14/+21
2017-09-09packed-backend: rip out some now-unused codeMichael Haggerty2-201/+0
2017-09-09files_ref_store: use a transaction to update packed refsMichael Haggerty1-31/+101
2017-09-09files_initial_transaction_commit(): use a transaction for packed refsMichael Haggerty1-10/+19
2017-09-09prune_refs(): also free the linked listMichael Haggerty1-4/+10
2017-09-09files_pack_refs(): use a reference transaction to write packed refsMichael Haggerty1-7/+17
2017-09-09packed_delete_refs(): implement methodMichael Haggerty2-2/+45
2017-09-09packed_ref_store: implement reference transactionsMichael Haggerty2-3/+319
2017-09-09struct ref_transaction: add a place for backends to store dataMichael Haggerty1-0/+1
2017-09-09packed-backend: don't adjust the reference count on lock/unlockMichael Haggerty1-5/+5
2017-09-06ref_lock: stop leaking lock_filesJeff King1-23/+16
2017-09-06tempfile: auto-allocate tempfiles on heapJeff King2-7/+8
2017-09-06lockfile: do not rollback lock on failed closeJeff King2-7/+9
2017-08-26Merge branch 'mh/ref-lock-entry'Junio C Hamano2-2/+12
2017-08-24files-backend: make reflog iterator go through per-worktree reflogNguyễn Thái Ngọc Duy1-14/+45
2017-08-23refs: retry acquiring reference locks for 100msMichael Haggerty2-2/+12
2017-08-22Merge branch 'mh/packed-ref-store'Junio C Hamano4-564/+995
2017-08-17files-backend: cheapen refname_available check when locking refsMichael Haggerty1-4/+4
2017-07-27packed_ref_store: handle a packed-refs file that is a symlinkMichael Haggerty1-6/+18