summaryrefslogtreecommitdiff
path: root/refs
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'kg/packed-ref-cache-fix'Junio C Hamano2018-02-151-51/+55
|\
| * packed_ref_cache: don't use mmap() for small fileskg/packed-ref-cache-fixKim Gybels2018-01-241-1/+3
| * load_contents(): don't try to mmap an empty fileMichael Haggerty2018-01-241-7/+6
| * packed_ref_iterator_begin(): make optimization more generalMichael Haggerty2018-01-241-6/+6
| * find_reference_location(): make function safe for empty snapshotsMichael Haggerty2018-01-241-4/+6
| * create_snapshot(): use `xmemdupz()` rather than a strbufMichael Haggerty2018-01-241-5/+4
| * struct snapshot: store `start` rather than `header_len`Michael Haggerty2018-01-241-31/+33
* | Merge branch 'sg/cocci-move-array'Junio C Hamano2018-02-131-4/+2
|\ \
| * | Use MOVE_ARRAYsg/cocci-move-arraySZEDER Gábor2018-01-221-4/+2
* | | Merge branch 'mr/packed-ref-store-fix'Junio C Hamano2018-02-131-2/+1
|\ \ \ | |/ / |/| |
| * | files_initial_transaction_commit(): only unlock if lockedmr/packed-ref-store-fixMathias Rav2018-01-191-2/+1
| |/
| * Merge branch 'mh/avoid-rewriting-packed-refs' into maintJunio C Hamano2017-12-063-1/+120
| |\
* | \ Merge branch 'mh/tidy-ref-update-flags'Junio C Hamano2017-11-154-108/+127
|\ \ \
| * | | refs: update some more docs to use "oid" rather than "sha1"mh/tidy-ref-update-flagsMichael Haggerty2017-11-064-22/+21
| * | | write_packed_entry(): take `object_id` argumentsMichael Haggerty2017-11-061-8/+8
| * | | refs: rename constant `REF_ISPRUNING` to `REF_IS_PRUNING`Michael Haggerty2017-11-061-9/+9
| * | | refs: rename constant `REF_NODEREF` to `REF_NO_DEREF`Michael Haggerty2017-11-062-22/+22
| * | | refs: tidy up and adjust visibility of the `ref_update` flagsMichael Haggerty2017-11-062-52/+60
| * | | ref_transaction_add_update(): remove a checkMichael Haggerty2017-11-061-1/+6
| * | | prune_ref(): call `ref_transaction_add_update()` directlyMichael Haggerty2017-11-061-9/+16
| * | | files_transaction_prepare(): don't leak flags to packed transactionMichael Haggerty2017-11-061-2/+2
| * | | Merge branch 'bc/object-id' into baseMichael Haggerty2017-10-284-74/+72
| |\ \ \ | | |/ / | |/| |
* | | | Merge branch 'mh/avoid-rewriting-packed-refs'Junio C Hamano2017-11-153-1/+120
|\ \ \ \ | | |_|/ | |/| |
| * | | files-backend: don't rewrite the `packed-refs` file unnecessarilymh/avoid-rewriting-packed-refsMichael Haggerty2017-10-303-1/+120
* | | | Merge branch 'bc/object-id'Junio C Hamano2017-11-064-74/+72
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | refs/files-backend: convert static functions to object_idbrian m. carlson2017-10-161-28/+28
| * | refs: convert read_raw_ref backends to struct object_idbrian m. carlson2017-10-163-13/+14
| * | refs: convert peel_object to struct object_idbrian m. carlson2017-10-163-6/+6
| * | refs: convert resolve_ref_unsafe to struct object_idbrian m. carlson2017-10-161-4/+4
| * | refs: convert reflog_expire parameter to struct object_idbrian m. carlson2017-10-163-8/+5
| * | refs: convert read_ref and read_ref_full to object_idbrian m. carlson2017-10-161-5/+5
| * | refs: update ref transactions to use struct object_idbrian m. carlson2017-10-162-8/+8
| * | refs: convert delete_ref and refs_delete_ref to struct object_idbrian m. carlson2017-10-161-1/+1
| * | refs/files-backend: convert struct ref_to_prune to object_idbrian m. carlson2017-10-161-3/+3
* | | Merge branch 'mh/ref-locking-fix'Junio C Hamano2017-10-261-1/+1
|\ \ \ | |/ / |/| |
| * | files_transaction_prepare(): fix handling of ref lock failuremh/ref-locking-fixMichael Haggerty2017-10-251-1/+1
| |/
* | 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