[Intel-gfx] [PATCH dim v2 1/2] dim: Add extract-tags command

Jani Nikula jani.nikula at linux.intel.com
Thu Mar 16 07:40:05 UTC 2017


On Wed, 15 Mar 2017, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Wed, Mar 15, 2017 at 05:09:04PM +0200, ville.syrjala at linux.intel.com wrote:
>> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>> 
>> Add a command for extracting various tags (eg. Reviwed-by:) from
>> emails. You can give the comamnd a rangeish to add the tags from
>> the same email to multiple already applied patches.
>> 
>> The regexp used to pick up tags is purposefully quite broad. People
>> tend to typo these things, or add extra whitespace etc. However the
>> broad regexp does mean this occasionally picks up stuff that isn't
>> a tag. So manually amending the commit is probably a wise idea,
>> and so I simply decided to also leave a '--- extracted tags ---'
>> separator in the commit message just before the extracted tags,
>> which can be cleaned up manually when verifying that the tags look
>> correct.
>
> An example of typical use would be nice.

I believe you can pipe an email to 'dim extract-tags' or one of its
variants, and have the tags in the email applied to the commits in the
branch in question.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list