On Tue, Nov 22, 2022 at 09:16:54PM +0100, Uwe Kleine-König wrote:
> On Tue, Nov 22, 2022 at 06:58:18PM +0000, Jonathan Cameron wrote:

> > Queued all of the below:
> > with one tweaked as per your suggestion and the highlighted one dropped on 
> > basis
> > I was already carrying the equivalent - as you pointed out.
> > 
> > I was already carrying the required dependency.
> > 
> > Includes the IIO ones in staging.
> > 

> > p.s. I perhaps foolishly did this in a highly manual way so as to
> > also pick up Andy's RB.  So might have dropped one...
> 
> You could have done:
> 
>       H=$(git rev-parse @)
>       b4 am -P 49-190 20221118224540.619276-1-...@kleine-koenig.org
>       git am ...
>       git filter-branch -f --msg-filter "grep -v 'Signed-off-by: Jonathan'; 
> echo 'Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>'; echo 
> 'Signed-off-by: Jonathan Cameron <ji...@kernel.org>'" $H..
> 
> (untested, but you get the idea).

That's, for example (just last from the history as is), how I usually do it
(tested):

 git filter-branch --msg-filter 'sed -e "/Signed-off-by: Andy Shevchenko/ a 
Tested-by: Daniel Scally <dan.sca...@ideasonboard.com>"' -f HEAD~4..HEAD


-- 
With Best Regards,
Andy Shevchenko


Reply via email to