From: Junio C Hamano Date: Wed, 24 May 2006 10:32:31 +0000 (-0700) Subject: Merge branch 'master' into next X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f54c76f1616cf470ce4bce8eff749272e1c6548c;p=git.git Merge branch 'master' into next * master: --summary output should print immediately after stats. git-svn: ignore expansion of svn:keywords git-svn: starting a 1.1.0-pre development version cvsimport: set up commit environment in perl instead of using env --- f54c76f1616cf470ce4bce8eff749272e1c6548c diff --cc diff.c index a7bb9b95,77c09a87..9e9cfc8b --- a/diff.c +++ b/diff.c @@@ -1989,10 -1988,10 +1989,13 @@@ void diff_flush(struct diff_options *op show_stats(diffstat); free(diffstat); diffstat = NULL; + if (options->summary) + for (i = 0; i < q->nr; i++) + diff_summary(q->queue[i]); - putchar(options->line_termination); + if (options->stat_sep) + fputs(options->stat_sep, stdout); + else + putchar(options->line_termination); } for (i = 0; i < q->nr; i++) { struct diff_filepair *p = q->queue[i];