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 <[email protected]>
Cc: Dave Airlie <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
---
 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

_______________________________________________
dim-tools mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dim-tools

Reply via email to