commit | 7d0b18a4da1be9e738293cc13812757ca47ed109 | [log] [tgz] |
---|---|---|
author | Anders Melchiorsen <mail@cup.kalibalik.dk> | Mon Aug 04 12:18:40 2008 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Aug 04 21:46:42 2008 -0700 |
tree | 7dd79690ee16d7af1ccf8a9519c59132599bc35a | |
parent | 611921654ffb854338ab758009a93c70054fab7f [diff] |
Add output flushing before fork() This adds fflush(NULL) before fork() in start_command(), to keep the generic interface safe. A remaining use of fork() with no flushing is in a comment in show_tree(). Rewrite that comment to use start_command(). Signed-off-by: Anders Melchiorsen <mail@cup.kalibalik.dk> Signed-off-by: Junio C Hamano <gitster@pobox.com>