summaryrefslogtreecommitdiffstats
path: root/refs.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'ps/ref-storage-migration-fix'Junio C Hamano2024-07-241-4/+18
|\
| * refs: fix format migration on CygwinPatrick Steinhardt2024-07-231-4/+18
* | Merge branch 'ps/use-the-repository'Junio C Hamano2024-07-021-3/+5
|\ \
| * | global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt2024-06-141-0/+2
| * | hash: require hash algorithm in `oidread()` and `oidclr()`Patrick Steinhardt2024-06-141-3/+3
| |/
* | Merge branch 'kn/update-ref-symref'Junio C Hamano2024-06-211-11/+32
|\ \
| * | update-ref: add support for 'symref-create' commandKarthik Nayak2024-06-071-3/+6
| * | update-ref: add support for 'symref-delete' commandKarthik Nayak2024-06-071-4/+10
| * | update-ref: add support for 'symref-verify' commandKarthik Nayak2024-06-071-3/+8
| * | refs: create and use `ref_update_expects_existing_old_ref()`Karthik Nayak2024-06-071-0/+6
* | | Merge branch 'ps/no-writable-strings'Junio C Hamano2024-06-181-1/+1
|\ \ \ | |_|/ |/| |
| * | global: improve const correctness when assigning string constantsPatrick Steinhardt2024-06-071-1/+1
| * | Merge branch 'ps/pseudo-ref-terminology'Junio C Hamano2024-05-281-63/+35
| |\ \
* | | | refs: implement logic to migrate between ref storage formatsPatrick Steinhardt2024-06-061-0/+308
* | | | refs: implement removal of ref storagesPatrick Steinhardt2024-06-061-0/+5
* | | | refs: allow to skip creation of reflog entriesPatrick Steinhardt2024-06-061-0/+6
* | | | refs: pass storage format to `ref_store_init()` explicitlyPatrick Steinhardt2024-06-061-8/+11
* | | | refs: convert ref storage format to an enumPatrick Steinhardt2024-06-061-3/+4
* | | | Merge branch 'ps/pseudo-ref-terminology' into ps/ref-storage-migrationJunio C Hamano2024-05-231-63/+35
|\ \ \ \ | | |/ / | |/| |
| * | | refs: refuse to write pseudorefsPatrick Steinhardt2024-05-151-0/+7
| * | | ref-filter: properly distinuish pseudo and root refsPatrick Steinhardt2024-05-151-17/+1
| * | | refs: pseudorefs are no refsPatrick Steinhardt2024-05-151-32/+33
| * | | refs: classify HEAD as a root refPatrick Steinhardt2024-05-151-8/+1
| * | | refs: do not check ref existence in `is_root_ref()`Patrick Steinhardt2024-05-151-14/+5
| * | | refs: rename `is_special_ref()` to `is_pseudo_ref()`Patrick Steinhardt2024-05-151-10/+10
| * | | refs: rename `is_pseudoref()` to `is_root_ref()`Patrick Steinhardt2024-05-151-11/+7
* | | | Merge branch 'ps/refs-without-the-repository-updates' into ps/ref-storage-mig...Junio C Hamano2024-05-231-195/+71
|\ \ \ \ | |_|/ / |/| | |
| * | | refs: remove `dwim_log()`Patrick Steinhardt2024-05-171-5/+0
| * | | refs: drop `git_default_branch_name()`Patrick Steinhardt2024-05-171-10/+0
| * | | refs: pass repo when peeling objectsPatrick Steinhardt2024-05-171-2/+2
| * | | refs: move object peeling into "object.c"Patrick Steinhardt2024-05-171-22/+0
| * | | refs: pass ref store when detecting dangling symrefsPatrick Steinhardt2024-05-171-20/+20
| * | | refs: convert iteration over replace refs to accept ref storePatrick Steinhardt2024-05-171-51/+7
| * | | refs: retrieve worktree ref stores via associated repositoryPatrick Steinhardt2024-05-171-13/+14
| * | | refs: refactor `resolve_gitlink_ref()` to accept a repositoryPatrick Steinhardt2024-05-171-3/+4
| * | | refs: pass repo when retrieving submodule ref storePatrick Steinhardt2024-05-171-15/+7
| * | | refs: track ref stores via strmapPatrick Steinhardt2024-05-171-57/+14
| * | | refs: implement releasing ref storagesPatrick Steinhardt2024-05-171-0/+6
| * | | refs: rename `init_db` callback to avoid confusionPatrick Steinhardt2024-05-171-2/+2
* | | | Merge branch 'kn/ref-transaction-symref'Junio C Hamano2024-05-201-22/+95
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | refs: rename `refs_create_symref()` to `refs_update_symref()`Karthik Nayak2024-05-071-7/+5
| * | refs: use transaction in `refs_create_symref()`Karthik Nayak2024-05-071-7/+17
| * | refs: add support for transactional symref updatesKarthik Nayak2024-05-071-2/+35
| * | refs: move `original_update_refname` to 'refs.c'Karthik Nayak2024-05-071-0/+8
| * | refs: support symrefs in 'reference-transaction' hookKarthik Nayak2024-05-071-4/+16
| * | refs: accept symref values in `ref_transaction_update()`Karthik Nayak2024-05-071-5/+17
| |/
* | refs: remove functions without ref storePatrick Steinhardt2024-05-071-198/+0
* | cocci: apply rules to rewrite callers of "refs" interfacesPatrick Steinhardt2024-05-071-3/+6
* | refs: add `exclude_patterns` parameter to `for_each_fullref_in()`Patrick Steinhardt2024-05-071-3/+5
* | refs: introduce missing functions that accept a `struct ref_store`Patrick Steinhardt2024-05-071-14/+51
|/