shithub: git9

Download patch

ref: f188c2ab1d6a7f8661647f0f323710a4188f4452
parent: dd4015a1b71b38a94586d538bcd48debc3dab7d6
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Apr 29 12:20:26 EDT 2021

pack: improve garbled repo error

--- a/pack.c
+++ b/pack.c
@@ -561,7 +561,7 @@
 	s = 4;
 	t = (c >> 4) & 0x7;
 	if(!t){
-		werrstr("unknown type for byte %x", c);
+		werrstr("unknown type for byte %x at %lld", c, p);
 		return -1;
 	}
 	while(c & 0x80){