aboutsummaryrefslogtreecommitdiffstats
path: root/refs/files-backend.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2024-07-02Merge branch 'ps/use-the-repository'Junio C Hamano1-3/+5
2024-06-20Merge branch 'kn/update-ref-symref'Junio C Hamano1-8/+9
2024-06-17Merge branch 'ps/ref-storage-migration'Junio C Hamano1-14/+110
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt1-0/+2
2024-06-14hash: require hash algorithm in `oidread()` and `oidclr()`Patrick Steinhardt1-3/+3
2024-06-13Merge branch 'ps/ref-storage-migration' into ps/use-the-repositoryJunio C Hamano1-14/+110
2024-06-07refs: specify error for regular refs with `old_target`Karthik Nayak1-6/+8
2024-06-07refs: create and use `ref_update_expects_existing_old_ref()`Karthik Nayak1-2/+1
2024-06-06refs: implement removal of ref storagesPatrick Steinhardt1-0/+62
2024-06-06refs/files: extract function to iterate through root refsPatrick Steinhardt1-9/+42
2024-06-06refs/files: refactor `add_pseudoref_and_head_entries()`Patrick Steinhardt1-9/+6
2024-06-06refs: allow to skip creation of reflog entriesPatrick Steinhardt1-0/+4
2024-05-30Merge branch 'ps/refs-without-the-repository-updates'Junio C Hamano1-23/+36
2024-05-28Merge branch 'ps/pseudo-ref-terminology'Junio C Hamano1-2/+1
2024-05-23Merge branch 'it/refs-name-conflict'Junio C Hamano1-1/+3
2024-05-23Merge branch 'ps/pseudo-ref-terminology' into ps/ref-storage-migrationJunio C Hamano1-2/+1
2024-05-23Merge branch 'ps/refs-without-the-repository-updates' into ps/ref-storage-mig...Junio C Hamano1-23/+36
2024-05-17refs/files: remove references to `the_hash_algo`Patrick Steinhardt1-2/+2
2024-05-17refs/files: use correct repositoryPatrick Steinhardt1-10/+13
2024-05-17refs: implement releasing ref storagesPatrick Steinhardt1-0/+10
2024-05-17refs: rename `init_db` callback to avoid confusionPatrick Steinhardt1-6/+6
2024-05-17refs: adjust names for `init` and `init_db` callbacksPatrick Steinhardt1-5/+5
2024-05-15refs: classify HEAD as a root refPatrick Steinhardt1-2/+1
2024-05-15refs: do not check ref existence in `is_root_ref()`Patrick Steinhardt1-2/+2
2024-05-15refs: rename `is_pseudoref()` to `is_root_ref()`Patrick Steinhardt1-1/+1
2024-05-07refs: remove `create_symref` and associated dead codeKarthik Nayak1-67/+0
2024-05-07refs: add support for transactional symref updatesKarthik Nayak1-21/+92
2024-05-07refs: move `original_update_refname` to 'refs.c'Karthik Nayak1-16/+5
2024-05-07files-backend: extract out `create_symref_lock()`Karthik Nayak1-14/+37
2024-05-07refs: accept symref values in `ref_transaction_update()`Karthik Nayak1-6/+6
2024-05-06refs: return conflict error when checking packed refsIvan Tse1-1/+3
2024-03-05Merge branch 'kn/for-all-refs'Junio C Hamano1-34/+93
2024-02-23refs: introduce `refs_for_each_include_root_refs()`Karthik Nayak1-5/+60
2024-02-23refs: extract out `loose_fill_ref_dir_regular_file()`Karthik Nayak1-29/+33
2024-02-21refs: stop resolving ref corresponding to reflogsPatrick Steinhardt1-10/+2
2024-02-21refs: drop unused params from the reflog iterator callbackPatrick Steinhardt1-7/+1
2024-02-21refs: always treat iterators as orderedPatrick Steinhardt1-4/+3
2024-02-21refs/files: sort merged worktree and common reflogsPatrick Steinhardt1-28/+2
2024-02-21refs/files: sort reflogs returned by the reflog iteratorPatrick Steinhardt1-2/+2
2024-01-26Merge branch 'ps/worktree-refdb-initialization'Junio C Hamano1-6/+31
2024-01-16Merge branch 'ps/refstorage-extension'Junio C Hamano1-1/+0
2024-01-08Merge branch 'en/header-cleanup'Junio C Hamano1-2/+0
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