git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* repositoryformatversion and extensions
@ 2024-03-11 11:54 Edward Thomson
  2024-03-21  9:32 ` Patrick Steinhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Edward Thomson @ 2024-03-11 11:54 UTC (permalink / raw)
  To: Git Mailing List

While looking at worktree configuration, I realized that the
extensions.worktreeconfig configuration option was honored even when
core.repositoryformatversion was unset, or explicitly set to 0.

Re-reading the docs for repository-version, it doesn't explicitly state
that extensions _require_ repositoryformatversion >= 1, it instead
states that:

> When reading the core.repositoryformatversion variable, a git
> implementation which supports version 1 MUST also read any configuration
> keys found in the extensions section of the configuration file.

Despite that, at least one extension (objectformat) does require
core.repositoryformatversion >= 1. Though, do note that objectformat
is not mentioned in the repository-version documentation.

What other extensions require repository format version >= 1? Is
core.objectformat the outlier here?

Is there documentation on which extensions are supported at which
repository format versions?

Are there other extensions that are not documented in repository-version?

Cheers-
Ed

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-27 10:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-11 11:54 repositoryformatversion and extensions Edward Thomson
2024-03-21  9:32 ` Patrick Steinhardt
2024-03-27 10:08   ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).