code: plan9front

Download patch

ref: 107a7ba9717429ae34294d9afa804b5271157ab0
parent: c9a153088dc85d0f8600992ca18da85a7668516d
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;