ref: 3e176bd975492427b232308e37ff51e7389d08e7
parent: bb33663b402060b6664d3a1829daad0e44fa9af0
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Jun 11 13:48:20 EDT 2022
git/pack: add support for skipping ssh signatures ssh signatures confused our commit parsing; teach our commit parsing to skip them.
--- a/sys/src/cmd/git/pack.c
+++ b/sys/src/cmd/git/pack.c
@@ -884,6 +884,7 @@
}else if(strcmp(buf, "gpgsig") == 0){
/* just drop it */
if((t = strstr(p, "-----END PGP SIGNATURE-----")) == nil)
+ if((t = strstr(p, "-----END SSH SIGNATURE-----")) == nil)
sysfatal("malformed gpg signature");
np -= t - p;
p = t;