[PATCH] dim: Dumbest base64 parser ever for apply-pull
Jani Nikula
jani.nikula at linux.intel.com
Wed Dec 19 08:49:13 UTC 2018
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>
> ---
> 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
More information about the dim-tools
mailing list