[PATCH] dim: Dumbest base64 parser ever for apply-pull
Daniel Vetter
daniel.vetter at ffwll.ch
Wed Dec 19 10:33:46 UTC 2018
On Wed, Dec 19, 2018 at 9:47 AM Jani Nikula <jani.nikula at linux.intel.com> wrote:
>
> On Fri, 14 Dec 2018, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> > Avoids me having to ask patchwork to decode them for me. Worked on the
> > 2 pulls from Dave and Inki I tried it on.
> >
> > v2: Use message_print_body (Jani).
> >
> > Cc: Jani Nikula <jani.nikula at linux.intel.com>
> > Cc: Dave Airlie <airlied at gmail.com>
> > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
>
> Didn't try it, but looks about right.
>
> Reviewed-by: Jani Nikula <jani.nikula at intel.com>
Thanks for your review, pushed.
-Daniel
>
> > ---
> > dim | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/dim b/dim
> > index 70939ff9abee..88ab85f215ec 100755
> > --- a/dim
> > +++ b/dim
> > @@ -995,7 +995,7 @@ function dim_apply_pull
> >
> > cat > $file
> >
> > - pull_branch=$(sed -ne '/[gG]it repository at:$/{n;n;p}' $file)
> > + pull_branch=$(message_print_body "$file" | sed -ne '/[gG]it repository at:$/{n;n;p}')
> > from_line=$(grep '^From:' $file)
> >
> > if [[ -z "$pull_branch" ]] ; then
>
> --
> Jani Nikula, Intel Open Source Graphics Center
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the dim-tools
mailing list