summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-08refs/files: skip creation of "refs/{heads,tags}" for worktreesPatrick Steinhardt1-8/+14
2024-01-08setup: move creation of "refs/" into the files backendPatrick Steinhardt1-0/+17
2024-01-08refs: prepare `refs_init_db()` for initializing worktree refsPatrick Steinhardt1-1/+3
2024-01-02refs: refactor logic to look up storage backendsPatrick Steinhardt1-1/+0
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-2/+0
2023-11-17refs: remove `delete_refs` callback from backendsPatrick Steinhardt1-7/+0
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-29/+29
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-23/+23
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