[PATCH] dim: Dumbest base64 parser ever for apply-pull

Daniel Vetter daniel.vetter at ffwll.ch
Fri Dec 14 16:24:31 UTC 2018


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>
---
 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
-- 
2.20.0.rc1



More information about the dim-tools mailing list