summaryrefslogtreecommitdiff
path: root/src/diff_stats.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-12-27 13:47:34 -0600
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-22 22:30:35 +0000
commitf673e232afe22eb865cdc915e55a2df6493f0fbb (patch)
treee79e3e6fb1e1d78367679aea75e66c8141b4daa8 /src/diff_stats.c
parent647dfdb42d06514a85c1499f1be88a32b8a4c24b (diff)
downloadlibgit2-f673e232afe22eb865cdc915e55a2df6493f0fbb.tar.gz
git_error: use new names in internal APIs and usage
Move to the `git_error` name in the internal API for error-related functions.
Diffstat (limited to 'src/diff_stats.c')
-rw-r--r--src/diff_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_stats.c b/src/diff_stats.c
index 3af591443..9cd800651 100644
--- a/src/diff_stats.c
+++ b/src/diff_stats.c
@@ -184,7 +184,7 @@ int git_diff_get_stats(
assert(out && diff);
stats = git__calloc(1, sizeof(git_diff_stats));
- GITERR_CHECK_ALLOC(stats);
+ GIT_ERROR_CHECK_ALLOC(stats);
deltas = git_diff_num_deltas(diff);