summaryrefslogtreecommitdiff
path: root/tests/threads/diff.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-22 22:52:06 +0000
committerGitHub <noreply@github.com>2019-01-22 22:52:06 +0000
commit635693d3bc55770ec7a6640ba3f2f0ee434a6042 (patch)
tree9156b0eae8ff19b7e2e0bb8eb76d38ce35baac5c /tests/threads/diff.c
parent6b2cd0ed599aec32444166b7ad5b0c9fdd88b498 (diff)
parenta27a4de6f8003961d38958893c6c637395c7cc04 (diff)
downloadlibgit2-635693d3bc55770ec7a6640ba3f2f0ee434a6042.tar.gz
Merge pull request #4917 from libgit2/ethomson/giterr
Move `giterr` to `git_error`
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;
}