diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-01-08 21:58:54 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-01-08 21:58:54 +0100 |
commit | 5bf20d6c77500f3ad95451421725ee2122ef5610 (patch) | |
tree | dd64183b9fb5c3ab1b2e97256045de6aeefa261b /refs.h | |
parent | The third batch (diff) | |
parent | t9500: write "extensions.refstorage" into config (diff) | |
download | git-5bf20d6c77500f3ad95451421725ee2122ef5610.tar.xz git-5bf20d6c77500f3ad95451421725ee2122ef5610.zip |
Merge branch 'ps/refstorage-extension' into ps/worktree-refdb-initialization
* ps/refstorage-extension:
t9500: write "extensions.refstorage" into config
builtin/clone: introduce `--ref-format=` value flag
builtin/init: introduce `--ref-format=` value flag
builtin/rev-parse: introduce `--show-ref-format` flag
t: introduce GIT_TEST_DEFAULT_REF_FORMAT envvar
setup: introduce GIT_DEFAULT_REF_FORMAT envvar
setup: introduce "extensions.refStorage" extension
setup: set repository's formats on init
setup: start tracking ref storage format
refs: refactor logic to look up storage backends
worktree: skip reading HEAD when repairing worktrees
t: introduce DEFAULT_REPO_FORMAT prereq
builtin/clone: create the refdb with the correct object format
builtin/clone: skip reading HEAD when retrieving remote
builtin/clone: set up sparse checkout later
builtin/clone: fix bundle URIs with mismatching object formats
remote-curl: rediscover repository when fetching refs
setup: allow skipping creation of the refdb
setup: extract function to create the refdb
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,9 @@ struct string_list; struct string_list_item; struct worktree; +unsigned int ref_storage_format_by_name(const char *name); +const char *ref_storage_format_to_name(unsigned int ref_storage_format); + /* * Resolve a reference, recursively following symbolic refererences. * |