Re: git notes: notes
From: Matthieu Moy <hidden>
Date: 2016-06-15 22:48:05
Junio C Hamano [off-list ref] writes:
Michael J Gruber [off-list ref] writes:quoted
No, but outputting the note as part of the log is the standard. So for example, when you do a format-patch | apply cycle, format-patch will insert the note as part of the commit message, and apply will *store* the note text (including Note:\n) as part of the commit message of the new commit.Thanks; that was the kind of breakage report I was looking for (and wished to have heard a lot earlier). Personally I find it is unexcusable that format-patch defaults to giving notes.
OTOH, format-patch could give the notes, below the ---, where it will be ignored by apply. That would make notes handy to prepare a patch serie with additional messages: prepare everything within Git, and use git send-email to send it. -- Matthieu Moy http://www-verimag.imag.fr/~moy/