]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-patch.c
ui-patch: Flush stdout after outputting data
[ps-cgit] / ui-patch.c
index 6878a4638d573a2d4790f0527aba22656f76c3d6..fc6c145feff4c151fb6d461750b01f3b3f377e0e 100644 (file)
@@ -82,4 +82,6 @@ void cgit_print_patch(const char *new_rev, const char *old_rev,
                log_tree_commit(&rev, commit);
                printf("-- \ncgit %s\n\n", cgit_version);
        }
+
+       fflush(stdout);
 }