diff options
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/diff.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h index c8e1ad143..e5e641a2a 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -1136,12 +1136,14 @@ GIT_EXTERN(size_t) git_diff_stats_deletions( * @param out buffer to store the formatted diff statistics in. * @param stats A `git_diff_stats` generated by one of the above functions. * @param format Formatting option. + * @param width Target width for output (only affects GIT_DIFF_STATS_FULL) * @return 0 on success; non-zero on error */ GIT_EXTERN(int) git_diff_stats_to_buf( git_buf *out, const git_diff_stats *stats, - git_diff_stats_format_t format); + git_diff_stats_format_t format, + size_t width); /** * Deallocate a `git_diff_stats`. |