From: Kristoffer Haugsbakk Date: Tue, 27 May 2025 21:19:32 +0000 (+0200) Subject: doc: notes: split out options with negated forms X-Git-Tag: v2.50.0-rc1~11^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37dd51a6ebc58bdd1ed9eeed7015f2f09fc710b7;p=thirdparty%2Fgit.git 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 --- 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