Skip to content

Commit a9cad02

Browse files
gwymorgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 844ede3 commit a9cad02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-request-pull.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ for you to fetch changes up to %H:
153153
if test $(git cat-file -t "$head") = tag
154154
then
155155
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
157157
echo
158158
echo "----------------------------------------------------------------"
159159
fi &&

0 commit comments

Comments
 (0)