Git development
 help / color / mirror / Atom feed
* [PATCH] docs: correct information about reftable
@ 2026-04-02 22:42 brian m. carlson
  2026-04-08  6:51 ` Patrick Steinhardt
  0 siblings, 1 reply; 3+ messages in thread
From: brian m. carlson @ 2026-04-02 22:42 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Patrick Steinhardt

Our description of the reftable format is that it is experimental and
subject to change, but that is no longer true.  Remove this statement so
as not to mislead users.

In addition, the documentation says that the files format is the
default, but that is not true if breaking changes mode is on.  Correct
this information with a conditional.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
---
Someone who was asking a question on the list pointed out that the docs
still said reftable was experimental and I said I'd send a patch to fix
that, so here it is.

Moreover, I think the with-breaking-changes item is helpful for us to
find all the places that we'll need to change for Git 3.0, in addition
to our goal of having strictly accurate documentation.

 Documentation/ref-storage-format.adoc | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Documentation/ref-storage-format.adoc b/Documentation/ref-storage-format.adoc
index 6a8db4712b..c5e29ec831 100644
--- a/Documentation/ref-storage-format.adoc
+++ b/Documentation/ref-storage-format.adoc
@@ -1,3 +1,8 @@
-`files`;; for loose files with packed-refs. This is the default.
-`reftable`;; for the reftable format. This format is experimental and its
-  internals are subject to change.
+`files`;; for loose files with packed-refs.
+ifndef::with-breaking-changes[]
+	This is the default.
+endif::with-breaking-changes[]
+`reftable`;; for the reftable format.
+ifdef::with-breaking-changes[]
+	This is the default.
+endif::with-breaking-changes[]

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

end of thread, other threads:[~2026-04-08 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-02 22:42 [PATCH] docs: correct information about reftable brian m. carlson
2026-04-08  6:51 ` Patrick Steinhardt
2026-04-08 14:20   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox