format-patch: use stdout directly
authorJohannes Schindelin <redacted>
Wed, 22 Jun 2016 15:02:04 +0000 (17:02 +0200)
committerJunio C Hamano <redacted>
Fri, 24 Jun 2016 22:20:47 +0000 (15:20 -0700)
commit36a4d905c36a598d17274765b57690ecfb4a23f8
tree54996ef84cc7a5471fd8e38ef5e2657dbe1ff027
parent95235f5ba1a9398c8503b809370ece18bba72ba2
format-patch: use stdout directly

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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/log.c
git clone https://git.99rst.org/PROJECT