Commit 12d1281eafdb8a13bde8c4b335c0e102f8505e13

Stefan Sperling 2020-03-19T17:17:05

don't mix server progress messages with regular fetch progress output

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/got/got.c b/got/got.c
index 42d8788..71c7b6e 100644
--- a/got/got.c
+++ b/got/got.c
@@ -838,6 +838,7 @@ fetch_progress(void *arg, const char *message, off_t packfile_size,
 	if (message && message[0] != '\0') {
 		printf("\rserver: %s", message);
 		fflush(stdout);
+		return NULL;
 	}
 
 	if (packfile_size > 0 || nobj_indexed > 0) {