From 37dd51a6ebc58bdd1ed9eeed7015f2f09fc710b7 Mon Sep 17 00:00:00 2001 From: Kristoffer Haugsbakk Date: Tue, 27 May 2025 23:19:32 +0200 Subject: [PATCH] doc: notes: split out options with negated forms 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 Signed-off-by: Junio C Hamano --- Documentation/git-notes.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/git-notes.adoc b/Documentation/git-notes.adoc index bcfe3dacd3..8706b33f2e 100644 --- a/Documentation/git-notes.adoc +++ b/Documentation/git-notes.adoc @@ -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=`:: +`--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 -- 2.39.5