Re: git notes: notes
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jan 24, 2010, 14:20 UTC
- Message-ID
- <vpq7hr7zism.fsf@bauges.imag.fr>
- In-Reply-To
- <7veilk1o3s.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 11 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes: > >> 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/