Commit d82de447b42ca88a01181f9cd6a1f45cfde478a3

Stefan Sperling 2018-09-15T19:48:08

make 'got log' flush stdout when a commit has been printed

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/got/got.c b/got/got.c
index 17cf228..5cf3fa0 100644
--- a/got/got.c
+++ b/got/got.c
@@ -366,6 +366,7 @@ print_commit(struct got_commit_object *commit, struct got_object_id *id,
 			printf("\n");
 	}
 
+	fflush(stdout);
 	return err;
 }