From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXvoS-00072r-JE for qemu-devel@nongnu.org; Thu, 02 May 2013 11:52:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXvoR-0001j6-Do for qemu-devel@nongnu.org; Thu, 02 May 2013 11:52:52 -0400 Received: from mail-vc0-f176.google.com ([209.85.220.176]:38184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXvoR-0001iy-9Y for qemu-devel@nongnu.org; Thu, 02 May 2013 11:52:51 -0400 Received: by mail-vc0-f176.google.com with SMTP id ib11so609234vcb.7 for ; Thu, 02 May 2013 08:52:50 -0700 (PDT) From: Anthony Liguori In-Reply-To: References: <20130502135143.GA1171@redhat.com> <5182868D.3090200@redhat.com> Date: Thu, 02 May 2013 10:52:47 -0500 Message-ID: <877gjhv0og.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] posting patches in pull requests (was Re: [PATCH 08/29] cpu: Add qemu_for_each_cpu()) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Paolo Bonzini Cc: qemu-devel@nongnu.org, "Michael S. Tsirkin" Peter Maydell writes: > On 2 May 2013 16:30, Paolo Bonzini 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