Skip to content

Commit

Permalink
Make rev-list flush the stdio buffers after each rev.
Browse files Browse the repository at this point in the history
We'd rather get the revisions in a slow but timely manner than
have to wait for them.
  • Loading branch information
Linus Torvalds committed Jul 4, 2005
1 parent 75bfc6c commit 7620d39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rev-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ static void show_commit(struct commit *commit)
static char pretty_header[16384];
pretty_print_commit(commit_format, commit->buffer, ~0, pretty_header, sizeof(pretty_header));
printf("%s%c", pretty_header, hdr_termination);
}
}
fflush(stdout);
}

static int filter_commit(struct commit * commit)
Expand Down

0 comments on commit 7620d39

Please sign in to comment.