From: Junio C Hamano Date: Fri, 24 Jun 2016 22:03:49 GMT Subject: Re: [PATCH v4 08/10] format-patch: use stdout directly Message-ID: In-Reply-To: <35a00cad311766d2bc64dada92e14c163e5a5806.1466607667.git.johannes.schindelin@gmx.de> Johannes Schindelin writes: > Earlier, we freopen()ed stdout in order to write patches to files. > That forced us to duplicate stdout (naming it "realstdout") because we > *still* wanted to be able to report the file names. > > As we do not abuse stdout that way anymore, we no longer need to > duplicate stdout, either. > > Signed-off-by: Johannes Schindelin > --- > builtin/log.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) The logical consequence of 07/10; very nice.