Subject: Re: [PATCH v8 4/6] notes.c: introduce '--separator=<paragraph-break>' option

From: Junio C Hamano <[email-masked]>
Date: Tue, 25 Apr 2023 10:35:43 -0700

Teng Long <[email-masked]> writes:

> From: Teng Long <[email-masked]>
>
> When adding new notes or appending to an existing notes, we will
> insert a blank line between the paragraphs, like:
>
>      $ git notes add -m foo -m bar
>      $ git notes show HEAD | cat
>      foo
>
>      bar

That's a pointless piping to "cat".  Piping to "cat -n" might be a
good way to illustrate what happens, though, i.e.

    $ git notes show HEAD | cat -n
         1  foo
         2
         3  bar

I have no strong preference either way (the other more obvious
alternative is to just remove "| cat").