Subject: Re: [PATCH 4/6] doc: notes: mention comment character configuration

From: Junio C Hamano <[email-masked]>
Date: Tue, 20 May 2025 12:14:43 -0700

[email-masked] writes:

> From: Kristoffer Haugsbakk <[email-masked]>
>
> Signed-off-by: Kristoffer Haugsbakk <[email-masked]>
> ---
>  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

The above is more like [1/6] I commented on, rather than [2/6], so
the same comment "why is it suggested that I go read about that
variable?" applies.  Perhaps

    ... starting with the comment character (the `core.commentChar`
    configuration variable, if set, otherwise `#`) will be ...

or something?  I dunno.