From: Junio C Hamano Date: Tue, 25 Apr 2023 17:35:43 GMT Subject: Re: [PATCH v8 4/6] notes.c: introduce '--separator=' option Message-ID: In-Reply-To: Teng Long writes: > From: Teng Long > > 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").