git: 9front

Download patch

ref: d9172590b1424185fb5b434c6523754a2f4107d2
parent: 1a754fc173f23cbfd18b9246133a47f5f3b2481e
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Jun 19 13:42:52 EDT 2024

git: allow longer authors in commits

there are git repos where the author line is longer than
128 chars; bump our limit up.

--- a/sys/src/cmd/git/pack.c
+++ b/sys/src/cmd/git/pack.c
@@ -823,7 +823,7 @@
 static int
 parseauthor(char **str, int *nstr, char **name, vlong *time)
 {
-	char buf[128];
+	char buf[512];
 	Resub m[4];
 	vlong tz;
 	char *p;
--