[PATCH v2 9/9] doc: notes: use stuck form throughout
- From
- kristofferhaugsbakk@fastmail.com <kristofferhaugsbakk@fastmail.com>
- Date
- May 23, 2025, 19:29 UTC
- Message-ID
- <73bdcaecae585796ec212675f3a2ff92d1ec306c.1748028010.git.code@khaugsbakk.name>
- In-Reply-To
- <cover.1748028010.git.code@khaugsbakk.name>
From: Kristoffer Haugsbakk <code@khaugsbakk.name>
gitcli(7) recommends the *stuck form*. `--ref` is the only one which does not use it.
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> ---
Notes (series):
v2:
• New
• I didn’t spot this in the first round. Hopefully it’s fine to include
it as well while we are editing this file. I would consider making a
separate thread if I wasn’t editing nearby hunks.Documentation/git-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-notes.adoc b/Documentation/git-notes.adoc index a0167af5aba..43436daeccc 100644 --- a/Documentation/git-notes.adoc +++ b/Documentation/git-notes.adoc @@ -199,7 +199,7 @@ order of similar options. For example, for `-C <object> -m<message>`, `--stripspace` will be used because the default for `-m` overrides the previous `-C`. -`--ref <ref>`:: +`--ref=<ref>`:: Manipulate the notes tree in _<ref>_. This overrides `GIT_NOTES_REF` and the `core.notesRef` configuration. The ref specifies the full refname when it begins with `refs/notes/`; when it
-- 2.49.0.780.g892193c3f50