summaryrefslogtreecommitdiff
path: root/tests/threads/diff.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 /tests/threads/diff.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 'tests/threads/diff.c')
-rw-r--r--tests/threads/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/threads/diff.c b/tests/threads/diff.c
index ab34b32a1..699642790 100644
--- a/tests/threads/diff.c
+++ b/tests/threads/diff.c
@@ -136,7 +136,7 @@ static void *run_index_diffs(void *arg)
git_diff_free(diff);
git_repository_free(repo);
- giterr_clear();
+ git_error_clear();
return arg;
}
@@ -203,7 +203,7 @@ static void *run_index_diffs_with_modifier(void *arg)
done:
git_index_free(idx);
git_repository_free(repo);
- giterr_clear();
+ git_error_clear();
return arg;
}