Signed tags have the signature at the end. Strip them out when preparing
pull mail overviews.

Signed-off-by: Jani Nikula <[email protected]>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index 866a420d4ef6..fc16d114632f 100755
--- a/dim
+++ b/dim
@@ -1483,7 +1483,7 @@ function prep_pull_mail_overview
                        obj=$(git rev-parse $tag)
                        if [[ "$(git cat-file -t $obj)" == "tag" ]] ; then
                                echo $tag:
-                               git cat-file -p $obj | tail -n+6
+                               git cat-file -p $obj | tail -n+6 | sed -n 
'/^-----BEGIN PGP SIGNATURE-----$/q;p'
                        fi
                done
        fi
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to