[Intel-gfx] [PATCH 2/2] dim: strip signatures out of the pull mail overviews

Jani Nikula jani.nikula at intel.com
Mon Oct 2 09:45:20 UTC 2017


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

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 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



More information about the Intel-gfx mailing list