Enable output buffering in merge-recursive.
commit66a155bc129b12f1f13be8e3f20e57db5ace0e6f
authorShawn O. Pearce <spearce@spearce.org>
Sun, 14 Jan 2007 05:28:53 +0000 (14 00:28 -0500)
committerJunio C Hamano <junkio@cox.net>
Sun, 14 Jan 2007 20:20:39 +0000 (14 12:20 -0800)
treedcef6e29723162fee4e7e7fde02d0ee045deb0bc
parent8c3275abcacb83ea3f4c4f4ceb2376799fc282bd
Enable output buffering in merge-recursive.

Buffering all message output until a merge invocation is complete is
necessary to prevent intereferring with a progress meter that would
indicate the number of files completely merged, and how many remain.
This change does not introduce a progress meter, but merely lays
the groundwork to buffer the output.

To aid debugging output buffering is only enabled if verbosity
is lower than 5.  When using verbosity levels above 5 the user is
probably debugging the merge program itself and does not want to
see the output delayed, especially if they are stepping through
portions of the code in a debugger.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
merge-recursive.c