From: Kristoffer Haugsbakk <code@xxxxxxxxxxxxxxx> Signed-off-by: Kristoffer Haugsbakk <code@xxxxxxxxxxxxxxx> --- 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 <ref>`:: Manipulate the notes tree in _<ref>_. This overrides -- 2.49.0.780.g892193c3f50