On Thu, May 02, 2013 at 10:52:47AM -0500, Anthony Liguori wrote: > Peter Maydell <peter.mayd...@linaro.org> writes: > > > On 2 May 2013 16:30, Paolo Bonzini <pbonz...@redhat.com> 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
Don't forget -M please, especially if you are Paolo :) > > > > (I really must put my random scripts into git.) > > > > -- PMM