Age | Commit message (Expand) | Author | Files | Lines |
2025-04-16 | Merge branch 'kn/non-transactional-batch-updates' | Junio C Hamano | 1 | -25/+45 |
2025-04-08 | refs: support rejection in batch updates during F/D checks | Karthik Nayak | 1 | -12/+0 |
2025-04-08 | refs: implement batch reference update support | Karthik Nayak | 1 | -0/+22 |
2025-04-08 | refs: introduce enum-based transaction error types | Karthik Nayak | 1 | -19/+29 |
2025-03-29 | Merge branch 'ps/refname-avail-check-optim' | Junio C Hamano | 1 | -0/+12 |
2025-03-12 | refs: introduce function to batch refname availability checks | Patrick Steinhardt | 1 | -0/+12 |
2025-03-06 | Merge branch 'tz/doc-txt-to-adoc-fixes' | Junio C Hamano | 1 | -1/+1 |
2025-03-03 | refs.h: *.txt -> *.adoc fixes | Todd Zullinger | 1 | -1/+1 |
2025-02-27 | Merge branch 'kn/ref-migrate-skip-reflog' | Junio C Hamano | 1 | -1/+4 |
2025-02-21 | builtin/refs: add '--no-reflog' flag to drop reflogs | Karthik Nayak | 1 | -1/+4 |
2025-01-22 | refs: mark `ref_transaction_update_reflog()` as static | Karthik Nayak | 1 | -14/+0 |
2024-12-23 | Merge branch 'kn/reflog-migration' | Junio C Hamano | 1 | -0/+14 |
2024-12-19 | Merge branch 'bf/set-head-symref' | Junio C Hamano | 1 | -1/+18 |
2024-12-16 | refs: introduce the `ref_transaction_update_reflog` function | Karthik Nayak | 1 | -0/+14 |
2024-12-15 | Merge branch 'jc/forbid-head-as-tagname' | Junio C Hamano | 1 | -0/+29 |
2024-12-04 | Merge branch 'sj/ref-contents-check' | Junio C Hamano | 1 | -1/+2 |
2024-12-03 | refs: drop strbuf_ prefix from helpers | Junio C Hamano | 1 | -4/+4 |
2024-12-03 | refs: move ref name helpers around | Junio C Hamano | 1 | -0/+29 |
2024-11-26 | refs: adapt `initial_transaction` flag to be unsigned | Patrick Steinhardt | 1 | -1/+1 |
2024-11-25 | refs: add create_only option to refs_update_symref_extended | Bence Ferdinandy | 1 | -1/+1 |
2024-11-25 | refs: add TRANSACTION_CREATE_EXISTS error | Bence Ferdinandy | 1 | -1/+3 |
2024-11-25 | refs: atomically record overwritten ref in update_symref | Bence Ferdinandy | 1 | -0/+4 |
2024-11-25 | refs: standardize output of refs_read_symbolic_ref | Bence Ferdinandy | 1 | -0/+11 |
2024-11-21 | ref: support multiple worktrees check for refs | shejialuo | 1 | -1/+2 |
2024-11-21 | refs: skip collision checks in initial transactions | Patrick Steinhardt | 1 | -1/+4 |
2024-11-21 | refs: introduce "initial" transaction flag | Patrick Steinhardt | 1 | -19/+18 |
2024-11-21 | refs: allow passing flags when setting up a transaction | Patrick Steinhardt | 1 | -1/+2 |
2024-09-25 | Merge branch 'ak/typofix-2.46-maint' | Junio C Hamano | 1 | -3/+3 |
2024-09-25 | Merge branch 'ps/reftable-exclude' | Junio C Hamano | 1 | -0/+9 |
2024-09-19 | refs: fix typos | Andrew Kreimer | 1 | -3/+3 |
2024-09-16 | refs: properly apply exclude patterns to namespaced refs | Patrick Steinhardt | 1 | -0/+9 |
2024-09-12 | refs: stop modifying global `log_all_ref_updates` variable | Patrick Steinhardt | 1 | -1/+3 |
2024-08-16 | Merge branch 'sj/ref-fsck' | Junio C Hamano | 1 | -0/+8 |
2024-08-15 | Merge branch 'jc/refs-symref-referent' | Junio C Hamano | 1 | -1/+1 |
2024-08-09 | refs: add referent to each_ref_fn | John Cai | 1 | -1/+1 |
2024-08-08 | refs: set up ref consistency check infrastructure | shejialuo | 1 | -0/+8 |
2024-08-02 | refs: drop `ref_store`-less functions | Patrick Steinhardt | 1 | -207/+0 |
2024-07-18 | Merge branch 'ch/refs-without-the-repository-fix' | Junio C Hamano | 1 | -2/+2 |
2024-07-16 | refs: correct the version numbers in a comment | Christian Hesse | 1 | -2/+2 |
2024-07-02 | Merge branch 'ps/use-the-repository' | Junio C Hamano | 1 | -7/+1 |
2024-06-20 | Merge branch 'kn/update-ref-symref' | Junio C Hamano | 1 | -1/+5 |
2024-06-17 | Merge branch 'ps/no-writable-strings' | Junio C Hamano | 1 | -1/+1 |
2024-06-14 | refs: avoid include cycle with "repository.h" | Patrick Steinhardt | 1 | -7/+1 |
2024-06-07 | global: improve const correctness when assigning string constants | Patrick Steinhardt | 1 | -1/+1 |
2024-06-07 | update-ref: add support for 'symref-create' command | Karthik Nayak | 1 | -0/+1 |
2024-06-07 | update-ref: add support for 'symref-delete' command | Karthik Nayak | 1 | -1/+3 |
2024-06-07 | update-ref: add support for 'symref-verify' command | Karthik Nayak | 1 | -0/+1 |
2024-06-06 | refs: implement logic to migrate between ref storage formats | Patrick Steinhardt | 1 | -0/+18 |
2024-06-06 | refs: implement removal of ref storages | Patrick Steinhardt | 1 | -0/+5 |
2024-06-06 | refs: allow to skip creation of reflog entries | Patrick Steinhardt | 1 | -1/+7 |
2024-06-06 | refs: convert ref storage format to an enum | Patrick Steinhardt | 1 | -2/+8 |
2024-05-28 | Merge branch 'ps/pseudo-ref-terminology' | Junio C Hamano | 1 | -2/+46 |
2024-05-23 | Merge branch 'ps/pseudo-ref-terminology' into ps/ref-storage-migration | Junio C Hamano | 1 | -2/+46 |
2024-05-23 | Merge branch 'ps/refs-without-the-repository-updates' into ps/ref-storage-mig... | Junio C Hamano | 1 | -29/+22 |
2024-05-20 | Merge branch 'kn/ref-transaction-symref' | Junio C Hamano | 1 | -2/+18 |
2024-05-17 | refs: remove `dwim_log()` | Patrick Steinhardt | 1 | -1/+0 |
2024-05-17 | refs: drop `git_default_branch_name()` | Patrick Steinhardt | 1 | -3/+1 |
2024-05-17 | refs: pass repo when peeling objects | Patrick Steinhardt | 1 | -2/+3 |
2024-05-17 | refs: pass ref store when detecting dangling symrefs | Patrick Steinhardt | 1 | -3/+4 |
2024-05-17 | refs: convert iteration over replace refs to accept ref store | Patrick Steinhardt | 1 | -15/+2 |
2024-05-17 | refs: refactor `resolve_gitlink_ref()` to accept a repository | Patrick Steinhardt | 1 | -2/+3 |
2024-05-17 | refs: pass repo when retrieving submodule ref store | Patrick Steinhardt | 1 | -1/+2 |
2024-05-17 | refs: implement releasing ref storages | Patrick Steinhardt | 1 | -0/+5 |
2024-05-17 | refs: rename `init_db` callback to avoid confusion | Patrick Steinhardt | 1 | -2/+2 |
2024-05-15 | ref-filter: properly distinuish pseudo and root refs | Patrick Steinhardt | 1 | -0/+18 |
2024-05-15 | refs: classify HEAD as a root ref | Patrick Steinhardt | 1 | -3/+2 |
2024-05-15 | refs: do not check ref existence in `is_root_ref()` | Patrick Steinhardt | 1 | -2/+3 |
2024-05-15 | refs: rename `is_pseudoref()` to `is_root_ref()` | Patrick Steinhardt | 1 | -1/+27 |
2024-05-07 | refs: remove functions without ref store | Patrick Steinhardt | 1 | -70/+209 |
2024-05-07 | refs: add `exclude_patterns` parameter to `for_each_fullref_in()` | Patrick Steinhardt | 1 | -1/+2 |
2024-05-07 | refs: introduce missing functions that accept a `struct ref_store` | Patrick Steinhardt | 1 | -0/+13 |
2024-05-07 | refs: rename `refs_create_symref()` to `refs_update_symref()` | Karthik Nayak | 1 | -1/+1 |
2024-05-07 | refs: accept symref values in `ref_transaction_update()` | Karthik Nayak | 1 | -1/+17 |
2024-03-25 | refs/reftable: expose auto compaction via new flag | Patrick Steinhardt | 1 | -1/+5 |
2024-03-25 | refs: remove `PACK_REFS_ALL` flag | Patrick Steinhardt | 1 | -2/+0 |
2024-03-25 | refs: move `struct pack_refs_opts` to where it's used | Patrick Steinhardt | 1 | -6/+6 |
2024-03-05 | Merge branch 'kn/for-all-refs' | Junio C Hamano | 1 | -0/+9 |
2024-03-05 | Merge branch 'jk/reflog-special-cases-fix' | Junio C Hamano | 1 | -1/+14 |
2024-02-26 | read_ref_at(): special-case ref@{0} for an empty reflog | Jeff King | 1 | -1/+14 |
2024-02-23 | refs: introduce `refs_for_each_include_root_refs()` | Karthik Nayak | 1 | -0/+6 |
2024-02-23 | refs: introduce `is_pseudoref()` and `is_headref()` | Karthik Nayak | 1 | -0/+3 |
2024-02-21 | refs: drop unused params from the reflog iterator callback | Patrick Steinhardt | 1 | -2/+9 |
2024-01-26 | Merge branch 'ps/worktree-refdb-initialization' | Junio C Hamano | 1 | -1/+3 |
2024-01-16 | Merge branch 'ps/refstorage-extension' | Junio C Hamano | 1 | -0/+3 |
2024-01-08 | refs/files: skip creation of "refs/{heads,tags}" for worktrees | Patrick Steinhardt | 1 | -0/+2 |
2024-01-08 | refs: prepare `refs_init_db()` for initializing worktree refs | Patrick Steinhardt | 1 | -1/+1 |
2024-01-02 | refs: refactor logic to look up storage backends | Patrick Steinhardt | 1 | -0/+3 |
2023-12-15 | refs.h: HEAD is not that special | Junio C Hamano | 1 | -1/+1 |
2023-07-21 | Merge branch 'tb/refs-exclusion-and-packed-refs' | Junio C Hamano | 1 | -4/+25 |
2023-07-10 | refs.h: implement `hidden_refs_to_excludes()` | Taylor Blau | 1 | -0/+6 |
2023-07-10 | refs.h: let `for_each_namespaced_ref()` take excluded patterns | Taylor Blau | 1 | -1/+6 |
2023-07-10 | revision.h: store hidden refs in a `strvec` | Taylor Blau | 1 | -2/+2 |
2023-07-10 | refs/packed-backend.c: implement jump lists to avoid excluded pattern(s) | Taylor Blau | 1 | -0/+4 |
2023-07-10 | refs: plumb `exclude_patterns` argument throughout | Taylor Blau | 1 | -1/+7 |
2023-05-12 | pack-refs: teach pack-refs --include option | John Cai | 1 | -0/+1 |
2023-05-12 | pack-refs: teach --exclude option to exclude refs from being packed | John Cai | 1 | -1/+6 |
2023-04-06 | Merge branch 'en/header-split-cleanup' | Junio C Hamano | 1 | -1/+0 |
2023-03-28 | cocci: apply the "refs.h" part of "the_repository.pending" | Ævar Arnfjörð Bjarmason | 1 | -6/+0 |
2023-03-21 | treewide: remove unnecessary cache.h inclusion from a few headers | Elijah Newren | 1 | -1/+0 |
2022-12-13 | ls-refs: use repository parameter to iterate refs | Jeff King | 1 | -2/+4 |
2022-11-17 | refs: get rid of global list of hidden refs | Patrick Steinhardt | 1 | -2/+3 |
2022-09-19 | refs: unify parse_worktree_ref() and ref_type() | Han-Wen Nienhuys | 1 | -7/+26 |
2022-08-05 | refs: add array of ref namespaces | Derrick Stolee | 1 | -0/+46 |
2022-04-13 | Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'" | Junio C Hamano | 1 | -7/+1 |
2022-03-01 | refs: add ability for backends to special-case reading of symbolic refs | Patrick Steinhardt | 1 | -0/+3 |
2022-03-01 | Merge branch 'ps/fetch-atomic' into ps/fetch-mirror-optim | Junio C Hamano | 1 | -0/+14 |
2022-02-18 | Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs' | Junio C Hamano | 1 | -1/+7 |
2022-02-17 | refs: add interface to iterate over queued transactional updates | Patrick Steinhardt | 1 | -0/+14 |
2022-01-26 | refs API: remove "failure_errno" from refs_resolve_ref_unsafe() | Ævar Arnfjörð Bjarmason | 1 | -6/+1 |
2022-01-17 | refs: allow skipping the reference-transaction hook | Patrick Steinhardt | 1 | -0/+5 |
2022-01-17 | refs: allow passing flags when beginning transactions | Patrick Steinhardt | 1 | -1/+2 |
2021-12-22 | reflog + refs-backend: move "verbose" out of the backend | Ævar Arnfjörð Bjarmason | 1 | -2/+1 |
2021-12-15 | Merge branch 'hn/allow-bogus-oid-in-ref-tests' | Junio C Hamano | 1 | -2/+14 |
2021-12-15 | Merge branch 'jc/reflog-iterator-callback-doc' | Junio C Hamano | 1 | -1/+23 |
2021-12-10 | Merge branch 'hn/create-reflog-simplify' | Junio C Hamano | 1 | -2/+2 |
2021-12-07 | refs: introduce REF_SKIP_REFNAME_VERIFICATION flag | Han-Wen Nienhuys | 1 | -2/+8 |
2021-12-07 | refs: introduce REF_SKIP_OID_VERIFICATION flag | Han-Wen Nienhuys | 1 | -1/+7 |
2021-11-28 | refs: document callback for reflog-ent iterators | Junio C Hamano | 1 | -1/+23 |
2021-11-22 | refs: drop force_create argument of create_reflog API | Han-Wen Nienhuys | 1 | -2/+2 |
2021-10-16 | refs API: post-migration API renaming [2/2] | Ævar Arnfjörð Bjarmason | 1 | -2/+0 |
2021-10-16 | refs API: post-migration API renaming [1/2] | Ævar Arnfjörð Bjarmason | 1 | -13/+9 |
2021-10-16 | refs API: remove refs_read_ref_full() wrapper | Ævar Arnfjörð Bjarmason | 1 | -2/+0 |
2021-10-16 | refs API: add a version of refs_resolve_ref_unsafe() with "errno" | Ævar Arnfjörð Bjarmason | 1 | -0/+12 |
2021-10-11 | Merge branch 'jk/ref-paranoia' | Junio C Hamano | 1 | -6/+3 |
2021-10-06 | Merge branch 'ab/retire-refs-unused-funcs' | Junio C Hamano | 1 | -2/+0 |
2021-09-28 | refs.[ch]: remove unused ref_storage_backend_exists() | Ævar Arnfjörð Bjarmason | 1 | -2/+0 |
2021-09-27 | refs: drop "broken" flag from for_each_fullref_in() | Jeff King | 1 | -6/+3 |
2021-08-25 | refs API: remove OID argument to reflog_expire() | Ævar Arnfjörð Bjarmason | 1 | -4/+3 |
2021-08-25 | reflog expire: don't lock reflogs using previously seen OID | Ævar Arnfjörð Bjarmason | 1 | -1/+1 |
2021-02-05 | Merge branch 'tb/ls-refs-optim' | Junio C Hamano | 1 | -0/+9 |
2021-01-22 | refs: expose 'for_each_fullref_in_prefixes' | Taylor Blau | 1 | -0/+9 |
2021-01-21 | refs: switch peel_ref() to peel_iterated_oid() | Jeff King | 1 | -10/+10 |
2020-12-13 | get_default_branch_name(): prepare for showing some advice | Johannes Schindelin | 1 | -2/+2 |
2020-09-09 | Merge branch 'jt/interpret-branch-name-fallback' | Junio C Hamano | 1 | -2/+10 |
2020-09-02 | wt-status: tolerate dangling marks | Jonathan Tan | 1 | -3/+5 |
2020-09-02 | refs: move dwim_ref() to header file | Jonathan Tan | 1 | -1/+7 |
2020-08-21 | refs: make refs_ref_exists public | Han-Wen Nienhuys | 1 | -0/+2 |
2020-07-28 | argv-array: rename to strvec | Jeff King | 1 | -2/+2 |
2020-07-06 | Merge branch 'js/default-branch-name' | Junio C Hamano | 1 | -0/+9 |
2020-06-24 | init: allow setting the default for the initial branch name via the config | Don Goodman-Wilson | 1 | -0/+9 |
2020-05-20 | refs.h: clarify reflog iteration order | Han-Wen Nienhuys | 1 | -1/+17 |
2020-04-16 | log-tree: make ref_filter_match() a helper method | Derrick Stolee | 1 | -12/+0 |
2019-11-18 | refs: move doc to refs.h | Heba Waly | 1 | -0/+51 |
2019-06-13 | Merge branch 'nd/worktree-name-sanitization' | Junio C Hamano | 1 | -0/+6 |
2019-05-15 | worktree add: sanitize worktree names | Nguyễn Thái Ngọc Duy | 1 | -0/+6 |
2019-05-13 | Merge branch 'dl/no-extern-in-func-decl' | Junio C Hamano | 1 | -1/+1 |
2019-05-05 | *.[ch]: remove extern from function declarations using spatch | Denton Liu | 1 | -1/+1 |
2019-04-08 | refs.c: remove the_repo from read_ref_at() | Nguyễn Thái Ngọc Duy | 1 | -1/+2 |
2019-04-08 | refs.c: add repo_dwim_log() | Nguyễn Thái Ngọc Duy | 1 | -0/+1 |
2019-04-08 | refs.c: add repo_dwim_ref() | Nguyễn Thái Ngọc Duy | 1 | -0/+1 |
2019-04-08 | refs.c: remove the_repo from expand_ref() | Nguyễn Thái Ngọc Duy | 1 | -1/+1 |
2019-04-08 | refs.c: add refs_shorten_unambiguous_ref() | Nguyễn Thái Ngọc Duy | 1 | -0/+2 |
2018-11-13 | Merge branch 'nd/per-worktree-ref-iteration' | Junio C Hamano | 1 | -3/+5 |
2018-10-22 | refs: new ref types to make per-worktree refs visible to all worktrees | Nguyễn Thái Ngọc Duy | 1 | -3/+5 |
2018-10-16 | Merge branch 'ds/commit-graph-with-grafts' | Junio C Hamano | 1 | -1/+11 |
2018-08-21 | refs.c: upgrade for_each_replace_ref to be a each_repo_ref_fn callback | Stefan Beller | 1 | -1/+1 |
2018-08-21 | refs.c: migrate internal ref iteration to pass thru repository argument | Stefan Beller | 1 | -0/+10 |
2018-08-15 | Add missing includes and forward declarations | Elijah Newren | 1 | -0/+2 |
2018-05-08 | Merge branch 'sb/object-store-replace' | Junio C Hamano | 1 | -2/+2 |
2018-04-12 | refs: allow for_each_replace_ref to handle arbitrary repositories | Stefan Beller | 1 | -3/+1 |
2018-04-12 | refs: store the main ref store inside the repository struct | Stefan Beller | 1 | -3/+1 |
2018-04-12 | refs: add repository argument to for_each_replace_ref | Stefan Beller | 1 | -1/+3 |
2018-04-12 | refs: add repository argument to get_main_ref_store | Stefan Beller | 1 | -1/+3 |
2018-03-15 | ls-remote: pass ref prefixes when requesting a remote's refs | Brandon Williams | 1 | -0/+7 |
2017-11-22 | log: add option to choose which refs to decorate | Rafael Ascensão | 1 | -0/+24 |
2017-11-06 | refs: update some more docs to use "oid" rather than "sha1" | Michael Haggerty | 1 | -4/+4 |
2017-11-06 | refs: rename constant `REF_NODEREF` to `REF_NO_DEREF` | Michael Haggerty | 1 | -3/+3 |
2017-11-06 | refs: tidy up and adjust visibility of the `ref_update` flags | Michael Haggerty | 1 | -28/+39 |
2017-11-06 | prune_ref(): call `ref_transaction_add_update()` directly | Michael Haggerty | 1 | -3/+1 |
2017-10-16 | refs: convert resolve_ref_unsafe to struct object_id | brian m. carlson | 1 | -7/+7 |
2017-10-16 | refs: convert resolve_gitlink_ref to struct object_id | brian m. carlson | 1 | -1/+1 |
2017-10-16 | refs: convert reflog_expire parameter to struct object_id | brian m. carlson | 1 | -3/+3 |
2017-10-16 | refs: convert read_ref_at to struct object_id | brian m. carlson | 1 | -1/+1 |
2017-10-16 | refs: convert peel_ref to struct object_id | brian m. carlson | 1 | -4/+4 |
2017-10-16 | refs: convert dwim_log to struct object_id | brian m. carlson | 1 | -1/+1 |
2017-10-16 | refs: convert dwim_ref and expand_ref to struct object_id | brian m. carlson | 1 | -2/+2 |
2017-10-16 | refs: convert read_ref and read_ref_full to object_id | brian m. carlson | 1 | -3/+3 |
2017-10-16 | refs: convert resolve_refdup and refs_resolve_refdup to struct object_id | brian m. carlson | 1 | -2/+2 |
2017-10-16 | refs: update ref transactions to use struct object_id | brian m. carlson | 1 | -19/+19 |
2017-10-16 | refs: convert update_ref and refs_update_ref to use struct object_id | brian m. carlson | 1 | -4/+1 |
2017-10-16 | refs: convert delete_ref and refs_delete_ref to struct object_id | brian m. carlson | 1 | -6/+6 |
2017-10-03 | Merge branch 'sd/branch-copy' | Junio C Hamano | 1 | -1/+8 |
2017-09-28 | Merge branch 'rs/resolve-ref-optional-result' | Junio C Hamano | 1 | -4/+5 |
2017-09-25 | Merge branch 'tg/refs-allowed-flags' | Junio C Hamano | 1 | -0/+8 |
2017-09-24 | refs: make sha1 output parameter of refs_resolve_ref_unsafe() optional | René Scharfe | 1 | -4/+5 |
2017-09-14 | refs: strip out not allowed flags from ref_transaction_update | Thomas Gummerer | 1 | -0/+8 |
2017-08-24 | refs: remove dead for_each_*_submodule() | Nguyễn Thái Ngọc Duy | 1 | -10/+0 |
2017-08-24 | refs.c: move for_each_remote_ref_submodule() to submodule.c | Nguyễn Thái Ngọc Duy | 1 | -2/+0 |
2017-08-24 | revision.c: use refs_for_each*() instead of for_each_*_submodule() | Nguyễn Thái Ngọc Duy | 1 | -3/+3 |
2017-08-24 | refs: add refs_head_ref() | Nguyễn Thái Ngọc Duy | 1 | -0/+2 |
2017-06-27 | Spelling fixes | Ville Skyttä | 1 | -2/+2 |
2017-06-18 | for_each_bisect_ref(): don't trim refnames | Michael Haggerty | 1 | -1/+4 |
2017-06-18 | branch: add a --copy (-c) option to go with --move (-m) | Sahil Dua | 1 | -1/+8 |
2017-05-23 | ref_transaction_prepare(): new optional step for reference updates | Michael Haggerty | 1 | -27/+97 |
2017-05-23 | ref_store: take a `msg` parameter when deleting references | Michael Haggerty | 1 | -5/+7 |
2017-05-23 | refs.h: clarify docstring for the ref_transaction_update()-related fns | Michael Haggerty | 1 | -0/+13 |
2017-05-23 | Merge branch 'bc/object-id' | Junio C Hamano | 1 | -3/+3 |
2017-05-16 | Merge branch 'js/larger-timestamps' | Junio C Hamano | 1 | -4/+4 |
2017-05-16 | Merge branch 'nd/worktree-kill-parse-ref' | Junio C Hamano | 1 | -10/+2 |
2017-05-08 | reflog_expire: convert to struct object_id | brian m. carlson | 1 | -3/+3 |