]> git.ipfire.org Git - thirdparty/git.git/commit - parse-options.c
parse-options: write blank line to correct output stream
authorBrandon Casey <drafnel@gmail.com>
Mon, 25 Sep 2017 04:08:04 +0000 (21:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Sep 2017 05:35:52 +0000 (14:35 +0900)
commit1a9bf1e176439d415b97fb8c5a556f69ea503877
tree07681bd8a63f0e2c81a319d6d32b35493512b0ce
parentc97ee171a6b5a7e41234d46341b496146fa08bf1
parse-options: write blank line to correct output stream

When commit 54e6dc7 added translation support to parse-options, an
fprintf was mistakenly replaced by a call to putchar().  Let's use fputc
instead.

Fixes t0040.11, t0040.12, t0040.33, and t1502.8.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c
t/t0040-parse-options.sh
t/t1502-rev-parse-parseopt.sh