summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2024-06-07global: improve const correctness when assigning string constantsPatrick Steinhardt1-1/+1
2024-06-07update-ref: add support for 'symref-create' commandKarthik Nayak1-3/+6
2024-06-07update-ref: add support for 'symref-delete' commandKarthik Nayak1-4/+10
2024-06-07update-ref: add support for 'symref-verify' commandKarthik Nayak1-3/+8
2024-06-07refs: create and use `ref_update_expects_existing_old_ref()`Karthik Nayak1-0/+6
2024-06-06refs: implement logic to migrate between ref storage formatsPatrick Steinhardt1-0/+308
2024-06-06refs: implement removal of ref storagesPatrick Steinhardt1-0/+5
2024-06-06refs: allow to skip creation of reflog entriesPatrick Steinhardt1-0/+6
2024-06-06refs: pass storage format to `ref_store_init()` explicitlyPatrick Steinhardt1-8/+11
2024-06-06refs: convert ref storage format to an enumPatrick Steinhardt1-3/+4
2024-05-28Merge branch 'ps/pseudo-ref-terminology'Junio C Hamano1-63/+35
2024-05-23Merge branch 'ps/pseudo-ref-terminology' into ps/ref-storage-migrationJunio C Hamano1-63/+35
2024-05-23Merge branch 'ps/refs-without-the-repository-updates' into ps/ref-storage-mig...Junio C Hamano1-195/+71
2024-05-20Merge branch 'kn/ref-transaction-symref'Junio C Hamano1-22/+95
2024-05-17refs: remove `dwim_log()`Patrick Steinhardt1-5/+0
2024-05-17refs: drop `git_default_branch_name()`Patrick Steinhardt1-10/+0
2024-05-17refs: pass repo when peeling objectsPatrick Steinhardt1-2/+2
2024-05-17refs: move object peeling into "object.c"Patrick Steinhardt1-22/+0
2024-05-17refs: pass ref store when detecting dangling symrefsPatrick Steinhardt1-20/+20
2024-05-17refs: convert iteration over replace refs to accept ref storePatrick Steinhardt1-51/+7
2024-05-17refs: retrieve worktree ref stores via associated repositoryPatrick Steinhardt1-13/+14
2024-05-17refs: refactor `resolve_gitlink_ref()` to accept a repositoryPatrick Steinhardt1-3/+4
2024-05-17refs: pass repo when retrieving submodule ref storePatrick Steinhardt1-15/+7
2024-05-17refs: track ref stores via strmapPatrick Steinhardt1-57/+14
2024-05-17refs: implement releasing ref storagesPatrick Steinhardt1-0/+6
2024-05-17refs: rename `init_db` callback to avoid confusionPatrick Steinhardt1-2/+2
2024-05-15refs: refuse to write pseudorefsPatrick Steinhardt1-0/+7
2024-05-15ref-filter: properly distinuish pseudo and root refsPatrick Steinhardt1-17/+1
2024-05-15refs: pseudorefs are no refsPatrick Steinhardt1-32/+33
2024-05-15refs: classify HEAD as a root refPatrick Steinhardt1-8/+1
2024-05-15refs: do not check ref existence in `is_root_ref()`Patrick Steinhardt1-14/+5
2024-05-15refs: rename `is_special_ref()` to `is_pseudo_ref()`Patrick Steinhardt1-10/+10
2024-05-15refs: rename `is_pseudoref()` to `is_root_ref()`Patrick Steinhardt1-11/+7
2024-05-07refs: remove functions without ref storePatrick Steinhardt1-198/+0
2024-05-07cocci: apply rules to rewrite callers of "refs" interfacesPatrick Steinhardt1-3/+6
2024-05-07refs: add `exclude_patterns` parameter to `for_each_fullref_in()`Patrick Steinhardt1-3/+5
2024-05-07refs: introduce missing functions that accept a `struct ref_store`Patrick Steinhardt1-14/+51
2024-05-07refs: rename `refs_create_symref()` to `refs_update_symref()`Karthik Nayak1-7/+5
2024-05-07refs: use transaction in `refs_create_symref()`Karthik Nayak1-7/+17
2024-05-07refs: add support for transactional symref updatesKarthik Nayak1-2/+35
2024-05-07refs: move `original_update_refname` to 'refs.c'Karthik Nayak1-0/+8
2024-05-07refs: support symrefs in 'reference-transaction' hookKarthik Nayak1-4/+16
2024-05-07refs: accept symref values in `ref_transaction_update()`Karthik Nayak1-5/+17
2024-03-05Merge branch 'kn/for-all-refs'Junio C Hamano1-0/+48
2024-03-05Merge branch 'jk/reflog-special-cases-fix'Junio C Hamano1-35/+30
2024-02-26read_ref_at(): special-case ref@{0} for an empty reflogJeff King1-0/+15
2024-02-26get_oid_basic(): special-case ref@{n} for oldest reflog entryJeff King1-1/+1
2024-02-26Revert "refs: allow @{n} to work with n-sized reflog"Jeff King1-34/+14
2024-02-23refs: introduce `refs_for_each_include_root_refs()`Karthik Nayak1-0/+7
2024-02-23refs: introduce `is_pseudoref()` and `is_headref()`Karthik Nayak1-0/+41