Volume XXII, number 280Wednesday, October 7, 2026Latest message 59 minutes ago

The Git List

News and archive of git@vger.kernel.org, since April 2005

patchdoc: restore: remove double underscore

1 messages between May 5, 2026 and May 5, 2026, from kristofferhaugsbakk@fastmail.com.

Plain Markdown or JSON for tools and agents. Diffs are folded; open one to read it.

kristofferhaugsbakk@fastmail.comMay 5, 2026, 19:46 UTC on lore
From: Kristoffer Haugsbakk <code@khaugsbakk.name>

69666e67 (doc: convert git-restore to new style format, 2025-01-10) converted `A` to _<rev-A>__; the extra underscore was a mistake.

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
---
Notes (series):
    Topic name: kh/doc-restore-double-underscore
 Documentation/git-restore.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/git-restore.adoc +1 −1
diff --git a/Documentation/git-restore.adoc b/Documentation/git-restore.adoc
index 961eef01373..7d194231651 100644
--- a/Documentation/git-restore.adoc
+++ b/Documentation/git-restore.adoc
@@ -41,7 +41,7 @@ given, otherwise from the index.
 +
 As a special case, you may use `"<rev-A>...<rev-B>"` as a shortcut for the
 merge base of _<rev-A>_ and _<rev-B>_ if there is exactly one merge base. You can
-leave out at most one of _<rev-A>__ and _<rev-B>_, in which case it defaults to `HEAD`.
+leave out at most one of _<rev-A>_ and _<rev-B>_, in which case it defaults to `HEAD`.
 
 `-p`::
 `--patch`::

base-commit: 67ad42147a7acc2af6074753ebd03d904476118f
-- 
2.54.0.13.g9c7419e39f8

Back to recent threads