shithub: git9

Download patch

ref: b460630cc75d4c144248726bb93d7e421bb5c5bc
parent: 26b0b7a8d040c802af32e57184df45b9eaaa4491
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Oct 12 02:11:57 EDT 2019

Remove spare newline in error.


--- a/query.c
+++ b/query.c
@@ -99,7 +99,7 @@
 			sysfatal("resolve %s: %r", argv[i]);
 		if(changes){
 			if(n != 2)
-				sysfatal("diff: need 2 commits, got %d\n", n);
+				sysfatal("diff: need 2 commits, got %d", n);
 			difftrees(h[0], h[1]);
 		}else{
 			p = (fullpath ? "/mnt/git/object/" : "");