From: Christian Couder Date: Mon, 13 Jun 2016 16:09:37 GMT Subject: [PATCH v7 35/40] apply: don't print on stdout when be_silent is set Message-ID: <20160613160942.1806-36-chriscool@tuxfamily.org> In-Reply-To: <20160613160942.1806-1-chriscool@tuxfamily.org> This variable should prevent anything to be printed on both stderr and stdout. Signed-off-by: Christian Couder --- apply.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apply.c b/apply.c index dd9b301..2529534 100644 --- a/apply.c +++ b/apply.c @@ -4679,13 +4679,13 @@ static int apply_patch(struct apply_state *state, goto end; } - if (state->diffstat) + if (state->diffstat && !state->be_silent) stat_patch_list(state, list); - if (state->numstat) + if (state->numstat && !state->be_silent) numstat_patch_list(state, list); - if (state->summary) + if (state->summary && !state->be_silent) summary_patch_list(list); end: -- 2.9.0.rc2.411.g3e2ca28