Control: retitle -1 git cherry-pick -x: the "cherry picked from commit" line is not preceded by a blank line when the last line starts with "note:"
On 2022-11-30 13:22:02 +0100, Vincent Lefevre wrote: > When "git cherry-pick -x" is used, a "cherry picked from commit" line > is added to the commit message. A blank line is usually added, but not > always. A blank line should *always* be added. [...] After various tests, it seems that the blank line is forgotten when the last line of the commit message starts with "note:" (case insensitively). For instance: New commit foo nOtE: (cherry picked from commit 3ba643e2eec4bdc1cd46b478ab36ee0707d241c2) and New commit Note: foo. (cherry picked from commit d0e85cdd32e30f78eeb968f275fc3a98899d791e) but New commit note: foo (cherry picked from commit a0ffae22fd3c94210170a3addcf802804f6ee5f7) ---- New commit A Note: (cherry picked from commit 0a89e0e7f8be3063803b0ad4381cd848ec52dd39) ---- New commit Note (cherry picked from commit f217bd5069c9d66a8ca54c869919ff484a18d20c) -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)