Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jn/maint-http-error-message'
[gitweb.git]
/
t
/
lib-gpg.sh
diff --git
a/t/lib-gpg.sh
b/t/lib-gpg.sh
index 28463fb6f426e6d6a74ab2092510c838a1aa95a8..05824fa8e4d18252f74c51531d6504039986c078 100755
(executable)
--- a/
t/lib-gpg.sh
+++ b/
t/lib-gpg.sh
@@
-24,3
+24,11
@@
else
;;
esac
fi
+
+sanitize_pgp() {
+ perl -ne '
+ /^-----END PGP/ and $in_pgp = 0;
+ print unless $in_pgp;
+ /^-----BEGIN PGP/ and $in_pgp = 1;
+ '
+}