diff options
author | Stefan Beller <sbeller@google.com> | 2017-06-29 17:07:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-30 13:13:02 -0700 |
commit | 0911c475c86862735caab43099ddb787d2e72f65 (patch) | |
tree | 700516659efabb3868403e4e516ba0a756a5ff7e /diff.h | |
parent | diff.c: convert emit_binary_diff_body to use emit_diff_symbol (diff) | |
download | tgif-0911c475c86862735caab43099ddb787d2e72f65.tar.xz |
diff.c: convert show_stats to use emit_diff_symbol
We call print_stat_summary from builtin/apply, so we still
need the version with a file pointer, so introduce
print_stat_summary_0 that uses emit_string machinery and
keep print_stat_summary with the same arguments around.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
-rw-r--r-- | diff.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -405,8 +405,8 @@ extern int parse_rename_score(const char **cp_p); extern long parse_algorithm_value(const char *value); -extern int print_stat_summary(FILE *fp, int files, - int insertions, int deletions); +extern void print_stat_summary(FILE *fp, int files, + int insertions, int deletions); extern void setup_diff_pager(struct diff_options *); #endif /* DIFF_H */ |