]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: notes: split out options with negated forms
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Tue, 27 May 2025 21:19:32 +0000 (23:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2025 22:31:06 +0000 (15:31 -0700)
Split these out so that they are easier to search for.[1]

[1]: https://lore.kernel.org/git/xmqqcyct1mtq.fsf@gitster.g/

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-notes.adoc

index bcfe3dacd3f0de6d1d041c57631a9a92423cb3f1..8706b33f2eeb563bc95d0944fbc2b41e9287493e 100644 (file)
@@ -174,14 +174,16 @@ OPTIONS
        Allow an empty note object to be stored. The default behavior is
        to automatically remove empty notes.
 
-`--[no-]separator`::
 `--separator=<paragraph-break>`::
+`--separator`::
+`--no-separator`::
        Specify a string used as a custom inter-paragraph separator
        (a newline is added at the end as needed). If `--no-separator`, no
        separators will be added between paragraphs.  Defaults to a blank
        line.
 
-`--[no-]stripspace`::
+`--stripspace`::
+`--no-stripspace`::
        Strip leading and trailing whitespace from the note message.
        Also strip out empty lines other than a single line between
        paragraphs. Lines starting with `#` will be stripped out