Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new

From: Andy Shevchenko
Date: Sat Nov 26 2022 - 10:44:15 EST


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-uwe@xxxxxxxxxxxxxxxxx
> git am ...
> git filter-branch -f --msg-filter "grep -v 'Signed-off-by: Jonathan'; echo 'Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>'; echo 'Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx>'" $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.scally@xxxxxxxxxxxxxxxx>"' -f HEAD~4..HEAD


--
With Best Regards,
Andy Shevchenko