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 <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...

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

Reply via email to