diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-06-28 21:04:59 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-06-28 21:10:51 +0200 |
commit | ab7941b5d97e5b90bebe6278fcf5351b6a4d5262 (patch) | |
tree | 1507f4cf8072c62f846d7151d3a617b766d1f04c /include/git2/errors.h | |
parent | 5cf1f909e4e5dc30396dd33fb5f6398b95927f54 (diff) | |
download | libgit2-ab7941b5d97e5b90bebe6278fcf5351b6a4d5262.tar.gz |
test: Properly show error messages
Diffstat (limited to 'include/git2/errors.h')
-rw-r--r-- | include/git2/errors.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h index 09b1f26bb..253cb6ae2 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -146,6 +146,11 @@ GIT_EXTERN(const char *) git_lasterror(void); */ GIT_EXTERN(const char *) git_strerror(int num); +/** + * Clear the latest library error + */ +GIT_EXTERN(void) git_clearerror(void); + /** @} */ GIT_END_DECL #endif |