|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] posting patches in pull requests (was Re: [PATCH 08/29] cpu: Add qemu_for_each_cpu()) |
Date: | Thu, 02 May 2013 10:52:47 -0500 |
User-agent: | Notmuch/0.15.2+77~g661dcf8 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
Peter Maydell <address@hidden> writes: > On 2 May 2013 16:30, Paolo Bonzini <address@hidden> wrote: >> /me changes his scripts... >> >> -s/PATCH/PULL/ if (/PATCH 0+\\//); >> +s/PATCH/PULL/ if (/^Subject:/); >> >> Yes, Perl... > > Heh, I use sed for this bit: > sed -i -e 's/^Subject: \[PULL\(.*\)].*/Subject: [PULL\1] > '"$BRANCHPFX"' queue/;/^$/q' "$COVERLETTER" You can also just do git format-patch --subject-prefix=PULL and avoid any fixups... Regards, Anthony Liguori > > (I really must put my random scripts into git.) > > -- PMM
[Prev in Thread] | Current Thread | [Next in Thread] |