summaryrefslogtreecommitdiffstats
path: root/refs/packed-backend.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'"Junio C Hamano2022-04-141-21/+7
* Merge branch 'ab/refs-various-fixes'Junio C Hamano2022-03-291-99/+29
|\
| * packed-backend: remove stub BUG(...) functionsÆvar Arnfjörð Bjarmason2022-03-171-79/+9
| * refs: use designated initializers for "struct ref_iterator_vtable"Ævar Arnfjörð Bjarmason2022-03-171-3/+3
| * refs: use designated initializers for "struct ref_storage_be"Ævar Arnfjörð Bjarmason2022-03-171-26/+26
* | Merge branch 'ps/fsync-refs'Junio C Hamano2022-03-261-1/+2
|\ \ | |/ |/|
| * core.fsync: new option to harden referencesPatrick Steinhardt2022-03-151-1/+2
* | refs: add ability for backends to special-case reading of symbolic refsPatrick Steinhardt2022-03-011-0/+1
|/
* Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'Junio C Hamano2022-02-181-7/+21
|\
| * refs: allow passing flags when beginning transactionsPatrick Steinhardt2022-01-171-1/+1
| * refs: extract packed_refs_delete_refs() to allow control of transactionPatrick Steinhardt2022-01-171-6/+20
* | refs: centralize initialization of the base ref_store.Han-Wen Nienhuys2021-12-221-4/+2
* | refs: pass gitdir to packed_ref_store_createHan-Wen Nienhuys2021-12-221-4/+5
|/
* Merge branch 'hn/create-reflog-simplify'Junio C Hamano2021-12-101-2/+1
|\
| * refs: drop force_create argument of create_reflog APIHan-Wen Nienhuys2021-11-221-2/+1
* | Merge branch 'ab/refs-errno-cleanup'Junio C Hamano2021-11-301-3/+4
|\ \ | |/ |/|
| * refs API: make refs_read_raw_ref() not set errnoHan-Wen Nienhuys2021-10-161-3/+4
* | Merge branch 'jt/no-abuse-alternate-odb-for-submodules'Junio C Hamano2021-10-261-3/+10
|\ \ | |/ |/|
| * refs: peeling non-the_repository iterators is BUGJonathan Tan2021-10-091-0/+3
| * refs: teach arbitrary repo support to iteratorsJonathan Tan2021-10-091-2/+4
| * refs: plumb repo into ref storesJonathan Tan2021-10-091-1/+3
* | refs: make errno output explicit for read_raw_ref_fnHan-Wen Nienhuys2021-08-251-4/+4
* | refs API: remove OID argument to reflog_expire()Ævar Arnfjörð Bjarmason2021-08-251-1/+1
* | refs/packet: add missing BUG() invocations to reflog callbacksÆvar Arnfjörð Bjarmason2021-08-201-0/+5
|/
* Merge branch 'ab/struct-init'Junio C Hamano2021-07-171-1/+1
|\
| * string-list.h users: change to use *_{nodup,dup}()Ævar Arnfjörð Bjarmason2021-07-011-1/+1
* | refs: make explicit that ref_iterator_peel returns booleanHan-Wen Nienhuys2021-05-201-1/+1
|/
* use CALLOC_ARRAYRené Scharfe2021-03-141-2/+2
* refs: move gitdir into base ref_storeHan-Wen Nienhuys2020-08-191-0/+1
* pack-refs: always refresh after taking the lock fileSun Chao2019-08-021-7/+16
* refs/packed-backend: express constants using the_hash_algobrian m. carlson2018-10-151-7/+7
* convert "oidcmp() != 0" to "!oideq()"Jeff King2018-08-291-1/+1
* refs/packed-backend.c: close fd of empty fileStefan Beller2018-06-011-0/+1
* Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin2018-05-061-8/+8
* refs: use chdir_notify to update cached relative pathsJeff King2018-03-301-0/+3
* Merge branch 'kg/packed-ref-cache-fix'Junio C Hamano2018-02-151-51/+55
|\
| * packed_ref_cache: don't use mmap() for small filesKim 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 'mh/avoid-rewriting-packed-refs' into maintJunio C Hamano2017-12-061-0/+94
| |\
* | \ Merge branch 'mh/tidy-ref-update-flags'Junio C Hamano2017-11-151-9/+9
|\ \ \
| * | | refs: update some more docs to use "oid" rather than "sha1"Michael Haggerty2017-11-061-1/+1
| * | | write_packed_entry(): take `object_id` argumentsMichael Haggerty2017-11-061-8/+8
* | | | Merge branch 'mh/avoid-rewriting-packed-refs'Junio C Hamano2017-11-151-0/+94
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | files-backend: don't rewrite the `packed-refs` file unnecessarilyMichael Haggerty2017-10-301-0/+94
* | | refs: convert read_raw_ref backends to struct object_idbrian m. carlson2017-10-161-2/+2
* | | refs: convert peel_object to struct object_idbrian m. carlson2017-10-161-3/+3