Accumulate diff statistics for all patches.
Structure containing the diff statistics.
A git_diff generated by one of the above functions.
0 on success; non-zero on error