From: Teng Long Date: Sat, 20 May 2023 10:41:59 GMT Subject: Re: [PATCH v10 4/6] notes.c: introduce '[--[no-]separator|--separator=]' option Message-ID: <20230520104159.53670-1-tenglong.tl@alibaba-inc.com> In-Reply-To: <51690df7-1788-469f-aabe-84fc7a576951@app.fastmail.com> "Kristoffer Haugsbakk" writes: > > From: Teng Long > > > > When adding new notes or appending to an existing notes, we will > > insert a blank line between the paragraphs, like: > > I was wondering why it acts this way. So of minor historical note (may > be obvious to everyone else): it was in order to mirror how `git commit > -m` works. From commit d9246d4303f (Teach "-m " and "-F " to > "git notes edit", 2009-10-09): Yes, I noticed it too, but I'm not sure whether there exists the same requirement in `git commit -m -F ...`, `git commit` is usually a more frequently used subcommand, firstly introduced it to `git notes` maybe is a good idea, but I'm not going to touch `git commit` yet, unless we find someone who has a strong need. Thanks.