* [PATCH 0/2] doc: refs: put ref migration warning under the command
@ 2026-07-31 9:07 kristofferhaugsbakk
2026-07-31 9:07 ` [PATCH 1/2] " kristofferhaugsbakk
2026-07-31 9:07 ` [PATCH 2/2] doc: refs: linkgit to git-maintenance(1) kristofferhaugsbakk
0 siblings, 2 replies; 3+ messages in thread
From: kristofferhaugsbakk @ 2026-07-31 9:07 UTC (permalink / raw)
To: git; +Cc: Kristoffer Haugsbakk, Karthik Nayak, Patrick Steinhardt
From: Kristoffer Haugsbakk <code@khaugsbakk.name>
Topic name: doc-refs-migrate-limitations
Topic summary: Put ref migration warning as an admonition under the command
so that it is visible.
That’s the first patch. The second patch adds a missing `linkgit` since it
touches that same warning text.
I have two other patches that are not included here. They are unrelated
cleanups that I will post later. Here are the commit subjects and the first
paragraph so that you can see what they are about:
• doc: refs: wrap standalone placeholders in underscores
This is a synopsis manpage which means that standalone placeholders[1]
are supposed to use underscores (_), not backticks (`).[2]
• doc: refs: use inline-verbatim throughout
Use inline-verbatim backticks (`) for literal commands, options, and
subcommands listed under the “Commands” section.
§ Cc list
The two people that I have the impression that have worked most on
this command.
[1/2] doc: refs: put ref migration warning under the command
[2/2] doc: refs: linkgit to git-maintenance(1)
Documentation/git-refs.adoc | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
base-commit: 13c7afec212fc97ce257d15601659314c6673d6c
--
2.54.0.22.g9e26862b904
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] doc: refs: put ref migration warning under the command
2026-07-31 9:07 [PATCH 0/2] doc: refs: put ref migration warning under the command kristofferhaugsbakk
@ 2026-07-31 9:07 ` kristofferhaugsbakk
2026-07-31 9:07 ` [PATCH 2/2] doc: refs: linkgit to git-maintenance(1) kristofferhaugsbakk
1 sibling, 0 replies; 3+ messages in thread
From: kristofferhaugsbakk @ 2026-07-31 9:07 UTC (permalink / raw)
To: git; +Cc: Kristoffer Haugsbakk, Karthik Nayak, Patrick Steinhardt
From: Kristoffer Haugsbakk <code@khaugsbakk.name>
I have to scroll down at least three screens in man(1) from the
`migrate` description in order to see the “known limitations” for
it. This is important information since the text says that concurrent
writes can lead to an inconsistent migrated state. Let’s move that text
up to the command description and put it inside a Caution admonition.
This section made sense when it was added in 25a0023f (builtin/refs:
new command to migrate ref storage formats, 2024-06-06); `migrate` was
the only subcommand, and this section was visible from the command
description. A one-page man page. But that is not the case anymore
now that the command has nine subcommands to describe.
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
---
Documentation/git-refs.adoc | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/Documentation/git-refs.adoc b/Documentation/git-refs.adoc
index ce278c59bfc..98828041c23 100644
--- a/Documentation/git-refs.adoc
+++ b/Documentation/git-refs.adoc
@@ -35,6 +35,21 @@ COMMANDS
`migrate`::
Migrate ref store between different formats.
++
+[CAUTION]
+--
+The ref format migration has several known limitations in its current form:
+
+* It is not possible to migrate repositories that have worktrees.
+
+* There is no way to block concurrent writes to the repository during an
+ ongoing migration. Concurrent writes can lead to an inconsistent migrated
+ state. Users are expected to block writes on a higher level. If your
+ repository is registered for scheduled maintenance, it is recommended to
+ unregister it first with git-maintenance(1).
+
+These limitations may eventually be lifted.
+--
`verify`::
Verify reference database consistency.
@@ -130,21 +145,6 @@ The following options are specific to commands which write references:
Operate on <ref> itself rather than the reference it points to via a
symbolic ref.
-KNOWN LIMITATIONS
------------------
-
-The ref format migration has several known limitations in its current form:
-
-* It is not possible to migrate repositories that have worktrees.
-
-* There is no way to block concurrent writes to the repository during an
- ongoing migration. Concurrent writes can lead to an inconsistent migrated
- state. Users are expected to block writes on a higher level. If your
- repository is registered for scheduled maintenance, it is recommended to
- unregister it first with git-maintenance(1).
-
-These limitations may eventually be lifted.
-
GIT
---
Part of the linkgit:git[1] suite
--
2.54.0.22.g9e26862b904
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] doc: refs: linkgit to git-maintenance(1)
2026-07-31 9:07 [PATCH 0/2] doc: refs: put ref migration warning under the command kristofferhaugsbakk
2026-07-31 9:07 ` [PATCH 1/2] " kristofferhaugsbakk
@ 2026-07-31 9:07 ` kristofferhaugsbakk
1 sibling, 0 replies; 3+ messages in thread
From: kristofferhaugsbakk @ 2026-07-31 9:07 UTC (permalink / raw)
To: git; +Cc: Kristoffer Haugsbakk, Karthik Nayak, Patrick Steinhardt
From: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
---
Documentation/git-refs.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-refs.adoc b/Documentation/git-refs.adoc
index 98828041c23..1ec26be0b4f 100644
--- a/Documentation/git-refs.adoc
+++ b/Documentation/git-refs.adoc
@@ -46,7 +46,7 @@ The ref format migration has several known limitations in its current form:
ongoing migration. Concurrent writes can lead to an inconsistent migrated
state. Users are expected to block writes on a higher level. If your
repository is registered for scheduled maintenance, it is recommended to
- unregister it first with git-maintenance(1).
+ unregister it first with linkgit:git-maintenance[1].
These limitations may eventually be lifted.
--
--
2.54.0.22.g9e26862b904
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-31 9:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-31 9:07 [PATCH 0/2] doc: refs: put ref migration warning under the command kristofferhaugsbakk
2026-07-31 9:07 ` [PATCH 1/2] " kristofferhaugsbakk
2026-07-31 9:07 ` [PATCH 2/2] doc: refs: linkgit to git-maintenance(1) kristofferhaugsbakk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.