于 2013-1-10 21:36, Eric Blake 写道:
On 01/09/2013 10:43 PM, Wenchao Xia wrote:


v2:

Generally, the v2 information should go...

   Do you know how to put change log under "---" in "git commit"?
I found it inconvenient to edit every ".patch" file, so added the
log directly in commit message.

Sure - manually put a --- as part of your commit message.  'git am'
doesn't care if there is more than one ---.  It does mean that you have
to float your S-o-b higher by hand, but doing it at commit time is
easier than doing post-editing of every .patch file at send-email time.
  Also, if you are editing a v2 of an existing series, you probably
already have a S-o-b line in the commit message that you are amending,
making it easy to scroll to the bottom, add ---, and then your v2 info.

  Thank you very much, this really helps.

--
Best Regards

Wenchao Xia


Reply via email to