summaryrefslogtreecommitdiff
path: root/refs
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'rs/cleanup-strbuf-users'Junio C Hamano2017-10-051-2/+2
|\
| * use strbuf_addstr() for adding strings to strbufsRené Scharfe2017-10-021-2/+2
* | Merge branch 'rs/resolve-ref-optional-result'Junio C Hamano2017-10-051-2/+1
|\ \
| * | refs: pass NULL to refs_resolve_refdup() if hash is not neededRené Scharfe2017-10-011-2/+1
* | | Merge branch 'mh/mmap-packed-refs'Junio C Hamano2017-10-036-368/+818
|\ \ \
| * | | 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-253-72/+11
| * | | packed_ref_store: get rid of the `ref_cache` entirelyMichael Haggerty2017-09-251-27/+2
| * | | ref_store: implement `refs_peel_ref()` genericallyMichael Haggerty2017-09-253-77/+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
| * | | 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
* | | | Merge branch 'jk/read-in-full'Junio C Hamano2017-10-031-1/+1
|\ \ \ \
| * | | | files-backend: prefer "0" for write_in_full() error checkJeff King2017-09-261-1/+1
* | | | | Merge branch 'sd/branch-copy'Junio C Hamano2017-10-033-8/+50
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | branch: add a --copy (-c) option to go with --move (-m)Sahil Dua2017-06-182-8/+42
* | | | | Merge branch 'rs/resolve-ref-optional-result'Junio C Hamano2017-09-281-2/+1
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| |
| * | | refs: pass NULL to refs_resolve_ref_unsafe() if hash is not neededRené Scharfe2017-09-241-2/+1
* | | | Merge branch 'jk/write-in-full-fix'Junio C Hamano2017-09-251-5/+5
|\ \ \ \ | |/ / / |/| | |
| * | | convert less-trivial versions of "write_in_full() != len"Jeff King2017-09-141-1/+1
| * | | avoid "write_in_full(fd, buf, len) != len" patternJeff King2017-09-141-4/+4
* | | | Merge branch 'mh/packed-ref-transactions'Junio C Hamano2017-09-194-216/+478
|\ \ \ \ | | |_|/ | |/| |
| * | | 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 'jk/incore-lockfile-removal'Junio C Hamano2017-09-192-34/+30
|\ \ \ \
| * | | | ref_lock: stop leaking lock_filesJeff King2017-09-061-23/+16
| * | | | tempfile: auto-allocate tempfiles on heapJeff King2017-09-062-7/+8
| * | | | lockfile: do not rollback lock on failed closeJeff King2017-09-062-7/+9
| |/ / /