shithub: git9

Download patch

ref: ae28087bdc48c8cebeed30d515490af303a4d241
parent: 46d4f3f4c75928f7b8af26cbf27452b317a1aac7
author: Ori Bernstein <[email protected]>
date: Fri Oct 18 22:46:32 EDT 2019

Remove debug prints from fetch.

--- a/fetch.c
+++ b/fetch.c
@@ -39,7 +39,6 @@
 
 	if(r == -1 && strstr(buf, "ref:") == buf)
 		return resolveremote(h, buf + strlen("ref:"));
-	print("resolved remote: %s\n", ref);
 	return r;
 }
 
@@ -160,7 +159,6 @@
 		getfields(buf, sp, nelem(sp), 1, " \t\n\r");
 		if(strstr(sp[1], "^{}"))
 			continue;
-		print("sp[1]: %s\n", sp[1]);
 		if(fetchbranch && !branchmatch(sp[1], fetchbranch))
 			continue;
 		if(refsz == nref + 1){