From: Junio C Hamano Date: Tue, 16 Jan 2024 18:11:57 +0000 (-0800) Subject: Merge branch 'ps/refstorage-extension' X-Git-Tag: v2.44.0-rc0~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32c6fc3e3036613d80f1217a833d9f3868717b41;p=thirdparty%2Fgit.git Merge branch 'ps/refstorage-extension' Introduce a new extension "refstorage" so that we can mark a repository that uses a non-default ref backend, like reftable. * 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 --- 32c6fc3e3036613d80f1217a833d9f3868717b41 diff --cc builtin/init-db.c index b89814a6f8,a4f81e2af5..0170469b84 --- a/builtin/init-db.c +++ b/builtin/init-db.c @@@ -10,6 -11,7 +10,8 @@@ #include "object-file.h" #include "parse-options.h" #include "path.h" + #include "refs.h" ++#include "repository.h" #include "setup.h" #include "strbuf.h"