From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXwr3-0007Wy-P1 for qemu-devel@nongnu.org; Thu, 02 May 2013 12:59:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXwr3-0007dl-0j for qemu-devel@nongnu.org; Thu, 02 May 2013 12:59:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXwr2-0007dZ-P8 for qemu-devel@nongnu.org; Thu, 02 May 2013 12:59:36 -0400 Message-ID: <51829B71.60306@redhat.com> Date: Thu, 02 May 2013 18:59:29 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20130502135143.GA1171@redhat.com> <5182868D.3090200@redhat.com> <877gjhv0og.fsf@codemonkey.ws> <20130502160626.GA14776@redhat.com> In-Reply-To: <20130502160626.GA14776@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: "Michael S. Tsirkin" Cc: Peter Maydell , qemu-devel@nongnu.org, Anthony Liguori Il 02/05/2013 18:06, Michael S. Tsirkin ha scritto: > On Thu, May 02, 2013 at 10:52:47AM -0500, Anthony Liguori wrote: >> 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... I still want to avoid any mistakes in case I override the subject prefix (e.g. to include 1.5)... Keeping the substitution is cheap and a nice safety net. > Don't forget -M please, especially if you are Paolo :) Or [diff] renames = true renamelimit = 2000 Paolo