request-pull: filter out SSH/X.509 tag signatures

git request-pull filters PGP signatures out of the tag message, but not SSH or X.509 signatures. Signed-off-by: Gwyneth Morgan <gwymor@tilde.club> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Gwyneth Morgan committed Jan 25, 2023 at 23:47 UTC a9cad02538a8e0518f000ad99099193d764fe795
1 file changed +1 -1
git-request-pull.sh
+1 -1
@@ -153,7 +153,7 @@ for you to fetch changes up to %H:
153 if test $(git cat-file -t "$head") = tag
154 then
155 git cat-file tag "$head" |
156 - sed -n -e '1,/^$/d' -e '/^-----BEGIN PGP /q' -e p
156 + sed -n -e '1,/^$/d' -e '/^-----BEGIN \(PGP\|SSH\|SIGNED\) /q' -e p
157 echo
158 echo "----------------------------------------------------------------"
159 fi &&