aboutsummaryrefslogtreecommitdiffstats
path: root/refs/files-backend.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2023-11-17refs: deduplicate code to delete referencesPatrick Steinhardt1-45/+1
2023-11-17refs/files: use transactions to delete referencesPatrick Steinhardt1-32/+34
2023-10-09files-backend.c: avoid stat in 'loose_fill_ref_dir'Victoria Dye1-9/+5
2023-07-21Merge branch 'tb/refs-exclusion-and-packed-refs'Junio C Hamano1-2/+3
2023-07-10refs: plumb `exclude_patterns` argument throughoutTaylor Blau1-2/+3
2023-06-21repository: remove unnecessary include of path.hElijah Newren1-0/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-1/+1
2023-06-13Merge branch 'jc/pack-ref-exclude-include'Junio C Hamano1-10/+17
2023-05-12pack-refs: teach pack-refs --include optionJohn Cai1-8/+10
2023-05-12pack-refs: teach --exclude option to exclude refs from being packedJohn Cai1-6/+10
2023-04-24hash-ll.h: split out of hash.h to remove dependency on repository.hElijah Newren1-0/+1
2023-04-24copy.h: move declarations for copy.c functions from cache.hElijah Newren1-0/+1
2023-04-11object-file.h: move declarations for object-file.c functions from cache.hElijah Newren1-0/+1
2023-03-21write-or-die.h: move declarations for write-or-die.c functions from cache.hElijah Newren1-0/+1
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren1-1/+2
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23ident.h: move ident-related declarations out of cache.hElijah Newren1-0/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2022-09-19refs: unify parse_worktree_ref() and ref_type()Han-Wen Nienhuys1-44/+36
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-7/+7
2022-08-19refs: mark unused virtual method parametersJeff King1-5/+5
2022-08-19refs: mark unused each_ref_fn parametersJeff King1-1/+3
2022-04-13Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'"Junio C Hamano1-19/+7
2022-03-29Merge branch 'ab/refs-various-fixes'Junio C Hamano1-32/+32
2022-03-25Merge branch 'ps/fsync-refs'Junio C Hamano1-0/+1
2022-03-17refs: use designated initializers for "struct ref_iterator_vtable"Ævar Arnfjörð Bjarmason1-6/+6
2022-03-17refs: use designated initializers for "struct ref_storage_be"Ævar Arnfjörð Bjarmason1-26/+26
2022-03-15core.fsync: new option to harden referencesPatrick Steinhardt1-0/+1
2022-03-01refs/files-backend: optimize reading of symbolic refsPatrick Steinhardt1-6/+28
2022-03-01refs: add ability for backends to special-case reading of symbolic refsPatrick Steinhardt1-0/+1
2022-02-18Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'Junio C Hamano1-7/+19
2022-01-26refs API: remove "failure_errno" from refs_resolve_ref_unsafe()Ævar Arnfjörð Bjarmason1-22/+9
2022-01-17refs: skip hooks when deleting uncovered packed refsPatrick Steinhardt1-3/+6
2022-01-17refs: do not execute reference-transaction hook on packing refsPatrick Steinhardt1-2/+4
2022-01-17refs: allow passing flags when beginning transactionsPatrick Steinhardt1-5/+5
2022-01-17refs: extract packed_refs_delete_refs() to allow control of transactionPatrick Steinhardt1-3/+10
2022-01-14Merge branch 'ab/refs-errno-cleanup'Junio C Hamano1-2/+1
2022-01-13refs API: use "failure_errno", not "errno"Ævar Arnfjörð Bjarmason1-2/+1
2022-01-10Merge branch 'ab/reflog-prep'Junio C Hamano1-24/+20
2021-12-22reflog + refs-backend: move "verbose" out of the backendÆvar Arnfjörð Bjarmason1-24/+20
2021-12-22refs files-backend: assume cb->newlog if !EXPIRE_REFLOGS_DRY_RUNÆvar Arnfjörð Bjarmason1-2/+2
2021-12-22refs: centralize initialization of the base ref_store.Han-Wen Nienhuys1-4/+1
2021-12-22refs: pass gitdir to packed_ref_store_createHan-Wen Nienhuys1-3/+2
2021-12-15Merge branch 'hn/allow-bogus-oid-in-ref-tests'Junio C Hamano1-23/+30
2021-12-10Merge branch 'hn/create-reflog-simplify'Junio C Hamano1-3/+2
2021-12-07refs: introduce REF_SKIP_OID_VERIFICATION flagHan-Wen Nienhuys1-21/+29
2021-12-07refs: update comment.Han-Wen Nienhuys1-2/+1
2021-11-29Merge branch 'ab/refs-errno-cleanup'Junio C Hamano1-51/+102