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. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature