Commit 90da997cd59502716a04f402ee61abbb8af6ea5f

Stefan Sperling 2020-03-19T17:04:21

remove 'Writing pack index...' message which was sometimes printed redundantly

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/got/got.c b/got/got.c
index 70f9ed7..03cc163 100644
--- a/got/got.c
+++ b/got/got.c
@@ -880,10 +880,6 @@ fetch_progress(void *arg, const char *message, off_t packfile_size,
 	if (print_size || print_indexed || print_resolved)
 		fflush(stdout);
 
-	if (nobj_indexed > 0 && nobj_indexed == nobj_total &&
-	    nobj_resolved == nobj_total - nobj_loose)
-		printf("\nWriting pack index...\n");
-
 	return NULL;
 }