Skip to contentSkip to conversation

vimdiff: clarify the sigil used for marking the buffer to save

PATCH In review D. Ben Knoble 2 participants 2 messages Mar 24, 2025 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 vimdiff: clarify the sigil used for marking the buffer to save

The original documentation from 7b5cf8be18 (vimdiff: add tool documentation, 2022-03-30) mistakenly described the marker as an asterisk, which is the character "*". The code and examples have always looked for an arobase ("@").

---

- v2 signs off the patch ;)
- v1 with notes on the name arobase and scope of change: https://lore.kernel.org/git/CAPig+cQg_VTN7Ug3FTdLdkVwSPZGiQHJZSpCkA2pTxwBiT29bw@mail.gmail.com/

 Documentation/mergetools/vimdiff.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mergetools/vimdiff.adoc +1 -1
index befa86d692..ab915df408 100644
@@ -86,7 +86,7 @@ command.
 +
 --
 When `MERGED` is not present in the layout, you must "mark" one of the
-buffers with an asterisk. That will become the buffer you need to edit and
+buffers with an arobase (`@`). That will become the buffer you need to edit and
 save after resolving the conflicts.
 ....
 ------------------------------------------

Diff-intervalle contre v1 :
1: 5b8b824e61 ! 1: 4ab274c3c4 vimdiff: clarify the sigil used for marking the buffer to save
@@ Commit message
asterisk, which is the character "*". The code and examples have always looked for an arobase ("@").

+ Signed-off-by: D. Ben Knoble <[email protected]>
+
## Documentation/mergetools/vimdiff.adoc ##
@@ Documentation/mergetools/vimdiff.adoc: command.
+

Signature · 1 line
2.48.1
#1 lore raw

Good catch!

If I recall correctly, the very first version of the code used an asterisk instead of the "@" symbol... but it looks like I forgot to update that part of the documentation once the asterisk option was discarded.

Thanks!