Commit 36a4d90
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 95235f5 commit 36a4d90
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
808 | | - | |
809 | 808 | | |
810 | 809 | | |
811 | 810 | | |
| |||
831 | 830 | | |
832 | 831 | | |
833 | 832 | | |
834 | | - | |
| 833 | + | |
835 | 834 | | |
836 | 835 | | |
837 | 836 | | |
| |||
1639 | 1638 | | |
1640 | 1639 | | |
1641 | 1640 | | |
1642 | | - | |
1643 | | - | |
1644 | | - | |
1645 | 1641 | | |
1646 | 1642 | | |
1647 | 1643 | | |
| |||
0 commit comments