summaryrefslogtreecommitdiff
path: root/refs/packed-backend.c
AgeCommit message (Expand)AuthorFilesLines
2022-03-29Merge branch 'ab/refs-various-fixes'Libravatar Junio C Hamano1-99/+29
2022-03-25Merge branch 'ps/fsync-refs'Libravatar Junio C Hamano1-1/+2
2022-03-17packed-backend: remove stub BUG(...) functionsLibravatar Ævar Arnfjörð Bjarmason1-79/+9
2022-03-17refs: use designated initializers for "struct ref_iterator_vtable"Libravatar Ævar Arnfjörð Bjarmason1-3/+3
2022-03-17refs: use designated initializers for "struct ref_storage_be"Libravatar Ævar Arnfjörð Bjarmason1-26/+26
2022-03-15core.fsync: new option to harden referencesLibravatar Patrick Steinhardt1-1/+2
2022-03-01refs: add ability for backends to special-case reading of symbolic refsLibravatar Patrick Steinhardt1-0/+1
2022-02-18Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'Libravatar Junio C Hamano1-7/+21
2022-01-17refs: allow passing flags when beginning transactionsLibravatar Patrick Steinhardt1-1/+1
2022-01-17refs: extract packed_refs_delete_refs() to allow control of transactionLibravatar Patrick Steinhardt1-6/+20
2021-12-22refs: centralize initialization of the base ref_store.Libravatar Han-Wen Nienhuys1-4/+2
2021-12-22refs: pass gitdir to packed_ref_store_createLibravatar Han-Wen Nienhuys1-4/+5
2021-12-10Merge branch 'hn/create-reflog-simplify'Libravatar Junio C Hamano1-2/+1
2021-11-29Merge branch 'ab/refs-errno-cleanup'Libravatar Junio C Hamano1-3/+4
2021-11-22refs: drop force_create argument of create_reflog APILibravatar Han-Wen Nienhuys1-2/+1
2021-10-25Merge branch 'jt/no-abuse-alternate-odb-for-submodules'Libravatar Junio C Hamano1-3/+10
2021-10-16refs API: make refs_read_raw_ref() not set errnoLibravatar Han-Wen Nienhuys1-3/+4
2021-10-08refs: peeling non-the_repository iterators is BUGLibravatar Jonathan Tan1-0/+3
2021-10-08refs: teach arbitrary repo support to iteratorsLibravatar Jonathan Tan1-2/+4
2021-10-08refs: plumb repo into ref storesLibravatar Jonathan Tan1-1/+3
2021-08-25refs: make errno output explicit for read_raw_ref_fnLibravatar Han-Wen Nienhuys1-4/+4
2021-08-25refs API: remove OID argument to reflog_expire()Libravatar Ævar Arnfjörð Bjarmason1-1/+1
2021-08-19refs/packet: add missing BUG() invocations to reflog callbacksLibravatar Ævar Arnfjörð Bjarmason1-0/+5
2021-07-16Merge branch 'ab/struct-init'Libravatar Junio C Hamano1-1/+1
2021-07-01string-list.h users: change to use *_{nodup,dup}()Libravatar Ævar Arnfjörð Bjarmason1-1/+1
2021-05-20refs: make explicit that ref_iterator_peel returns booleanLibravatar Han-Wen Nienhuys1-1/+1
2021-03-13use CALLOC_ARRAYLibravatar René Scharfe1-2/+2
2020-08-19refs: move gitdir into base ref_storeLibravatar Han-Wen Nienhuys1-0/+1
2019-08-02pack-refs: always refresh after taking the lock fileLibravatar Sun Chao1-7/+16
2018-10-15refs/packed-backend: express constants using the_hash_algoLibravatar brian m. carlson1-7/+7
2018-08-29convert "oidcmp() != 0" to "!oideq()"Libravatar Jeff King1-1/+1
2018-06-01refs/packed-backend.c: close fd of empty fileLibravatar Stefan Beller1-0/+1
2018-05-06Replace all die("BUG: ...") calls by BUG() onesLibravatar Johannes Schindelin1-8/+8
2018-03-30refs: use chdir_notify to update cached relative pathsLibravatar Jeff King1-0/+3
2018-02-15Merge branch 'kg/packed-ref-cache-fix'Libravatar Junio C Hamano1-51/+55
2018-01-24packed_ref_cache: don't use mmap() for small filesLibravatar Kim Gybels1-1/+3
2018-01-24load_contents(): don't try to mmap an empty fileLibravatar Michael Haggerty1-7/+6
2018-01-24packed_ref_iterator_begin(): make optimization more generalLibravatar Michael Haggerty1-6/+6
2018-01-24find_reference_location(): make function safe for empty snapshotsLibravatar Michael Haggerty1-4/+6
2018-01-24create_snapshot(): use `xmemdupz()` rather than a strbufLibravatar Michael Haggerty1-5/+4
2018-01-24struct snapshot: store `start` rather than `header_len`Libravatar Michael Haggerty1-31/+33
2017-12-06Merge branch 'mh/avoid-rewriting-packed-refs' into maintLibravatar Junio C Hamano1-0/+94
2017-11-15Merge branch 'mh/tidy-ref-update-flags'Libravatar Junio C Hamano1-9/+9
2017-11-15Merge branch 'mh/avoid-rewriting-packed-refs'Libravatar Junio C Hamano1-0/+94
2017-11-06refs: update some more docs to use "oid" rather than "sha1"Libravatar Michael Haggerty1-1/+1
2017-11-06write_packed_entry(): take `object_id` argumentsLibravatar Michael Haggerty1-8/+8
2017-10-30files-backend: don't rewrite the `packed-refs` file unnecessarilyLibravatar Michael Haggerty1-0/+94
2017-10-16refs: convert read_raw_ref backends to struct object_idLibravatar brian m. carlson1-2/+2
2017-10-16refs: convert peel_object to struct object_idLibravatar brian m. carlson1-3/+3
2017-10-16refs: convert reflog_expire parameter to struct object_idLibravatar brian m. carlson1-1/+1