make 'got log' flush stdout when a commit has been printed
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;
}