On Wed, Nov 16, 2022 at 01:52:55PM -0500, Jeff King wrote: > > diff --git a/builtin/notes.c b/builtin/notes.c > > index be51f69225..80d9dfd25c 100644 > > --- a/builtin/notes.c > > +++ b/builtin/notes.c > > @@ -181,7 +181,7 @@ static void prepare_note_data(const struct object_id *object, struct note_data * > > strbuf_addch(&buf, '\n'); > > strbuf_add_commented_lines(&buf, "\n", strlen("\n")); > > strbuf_add_commented_lines(&buf, _(note_template), strlen(_(note_template))); > > - strbuf_addch(&buf, '\n'); > > + strbuf_add_commented_lines(&buf, "\n", strlen("\n")); > > And the patch looks obviously good. The irony is the version two lines > above which does it correctly. ;) Thanks, both. ;-). Thanks, Taylor