Merge branch 'lp/maint-diff-three-dash-with-graph'
[gitweb.git] / builtin / apply.c
index f27f80ed76cd17370b2477ff6223abbd7b67c7d9..799bb5e906c1e6de6c95cad4b9f4ee8fedf258f0 100644 (file)
@@ -14,6 +14,7 @@
 #include "builtin.h"
 #include "string-list.h"
 #include "dir.h"
+#include "diff.h"
 #include "parse-options.h"
 
 /*
@@ -3341,7 +3342,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)