summaryrefslogtreecommitdiff
path: root/git-request-pull.sh
diff options
context:
space:
mode:
authorGwyneth Morgan <gwymor@tilde.club>2023-01-25 23:47:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-01-25 23:54:41 (GMT)
commita9cad02538a8e0518f000ad99099193d764fe795 (patch)
tree5708e559bd30ceed7f45583bf0040f7b41a2217c /git-request-pull.sh
parent844ede312b4e988881b6e27e352f469d8ab80b2a (diff)
downloadgit-a9cad02538a8e0518f000ad99099193d764fe795.zip
git-a9cad02538a8e0518f000ad99099193d764fe795.tar.gz
git-a9cad02538a8e0518f000ad99099193d764fe795.tar.bz2
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>
Diffstat (limited to 'git-request-pull.sh')
-rwxr-xr-xgit-request-pull.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-request-pull.sh b/git-request-pull.sh
index 2d0e446..01640a0 100755
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
@@ -153,7 +153,7 @@ for you to fetch changes up to %H:
if test $(git cat-file -t "$head") = tag
then
git cat-file tag "$head" |
- sed -n -e '1,/^$/d' -e '/^-----BEGIN PGP /q' -e p
+ sed -n -e '1,/^$/d' -e '/^-----BEGIN \(PGP\|SSH\|SIGNED\) /q' -e p
echo
echo "----------------------------------------------------------------"
fi &&