git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] docs: note that extensions.compatobjectformat is experimental

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 25, 2025, 17:25 UTC
Message-ID
<xmqqo6s3qpne.fsf@gitster.g>
In-Reply-To
<20250823220601.336079-1-sandals@crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 6 quoted lines
> The compatibility object format is only implemented for loose objects,
> not packed objects, so anyone attempting to push or fetch data into a
> repository with this option will likely not see it work as expected.  In
> addition, the underlying storage of loose object mapping is likely to
> change because the current format is inefficient and does not handle
> important mapping information such as that of submodules.

It is "experimental" in the sense that a developer who is interested in making the feature work end-to-end for the first time can use the code behind the flag to prepare loose objects to prepare what is to be transferred; it sounds more like this one is "not working yet" ...

Show 11 quoted lines
> diff --git a/Documentation/config/extensions.adoc b/Documentation/config/extensions.adoc
> index 9e2f321a6d..292e95ddae 100644
> --- a/Documentation/config/extensions.adoc
> +++ b/Documentation/config/extensions.adoc
> @@ -14,6 +14,9 @@ compatObjectFormat::
>  	compatObjectFormat.  As well as being able to use oids encoded in
>  	compatObjectFormat in addition to oids encoded with objectFormat to
>  	locally specify objects.
> ++
> +Note that the functionality enabled by this option is experimental, incomplete,
> +and subject to change.

... as the only end-user-perceivable purpose the compat format serves is to exchange data between two repositories that use different hash functions, no?

The word "experimental" to me implies that it at least lets you complete a minimum end-user journey of the feature end-to-end.

There are different degree of experimental in this project and we may want to do something about it, but in any case this is a welcome change in the right direction to steer those with mere curiosity away from hurting themselves.

    Note that the functionality hidden behind this extension is
    incomplete and the extension exists solely to allow us to
    continue developping it further.
might give them a stronger discouragement?
>  noop::
>  	This extension does not change git's behavior at all. It is useful only
Previous: brian m. carlsonNext: brian m. carlson
Message 2 of 8 in “docs: note that extensions.compatobjectformat is experimental”
  1. docs: note that extensions.compatobjectformat is experimentalbrian m. carlson, Aug 23, 2025
  2. Junio C HamanoAug 25, 2025
  3. brian m. carlsonAug 25, 2025
  4. docs: note that extensions.compatobjectformat is incompletebrian m. carlson, Aug 25, 2025
  5. Junio C HamanoAug 25, 2025
  6. brian m. carlsonAug 25, 2025
  7. Junio C HamanoAug 25, 2025
  8. docs: note that extensions.compatobjectformat is incompletebrian m. carlson, Aug 25, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.