From: kristofferhaugsbakk@fastmail.com Date: Tue, 20 May 2025 17:57:22 GMT Subject: [PATCH 4/6] doc: notes: mention comment character configuration Message-ID: In-Reply-To: From: Kristoffer Haugsbakk Signed-off-by: Kristoffer Haugsbakk --- Documentation/git-notes.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/git-notes.adoc b/Documentation/git-notes.adoc index 8706b33f2ee..1b714eb9e81 100644 --- a/Documentation/git-notes.adoc +++ b/Documentation/git-notes.adoc @@ -186,9 +186,12 @@ OPTIONS `--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 + paragraphs. Lines starting with the comment character + (default `#`) will be stripped out in non-editor cases like `-m`, `-F` and `-C`, but not in editor case like `git notes edit`, `-c`, etc. ++ +See `core.commentChar` in linkgit:git-config[1]. `--ref `:: Manipulate the notes tree in __. This overrides -- 2.49.0.780.g892193c3f50