diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-02-12 22:43:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-12 22:43:19 -0800 |
commit | 2ef80c2d8998593852be2fb0546c8e4a518a6bf1 (patch) | |
tree | 0907edcc74ec5fb9e1672aa3be963292778edd60 /builtin | |
parent | dd5253b4bd440d2472ac01bd3821ac96c2d26ff0 (diff) | |
parent | 7f814632f5d4d7af9f4225ece6039dbc44e03079 (diff) | |
download | git-2ef80c2d8998593852be2fb0546c8e4a518a6bf1.tar.gz |
Merge branch 'nd/diffstat-gramnum'
* nd/diffstat-gramnum:
Use correct grammar in diffstat summary line
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/apply.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/apply.c b/builtin/apply.c index c24dc546d0..389898f133 100644 --- a/builtin/apply.c +++ b/builtin/apply.c @@ -14,6 +14,7 @@ #include "builtin.h" #include "string-list.h" #include "dir.h" +#include "diff.h" #include "parse-options.h" /* @@ -3241,7 +3242,7 @@ static void stat_patch_list(struct patch *patch) show_stats(patch); } - printf(" %d files changed, %d insertions(+), %d deletions(-)\n", files, adds, dels); + print_stat_summary(stdout, files, adds, dels); } static void numstat_patch_list(struct patch *patch) |