summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-08-04 11:18:21 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-08-04 11:18:21 +0200
commitcf716beed2f4729cf01a9822d75b4f1ebf7ccbf1 (patch)
tree2e02b7fcc28a00c0eede602b8880b83a9fd35c77 /include
parent69adb781e17f77b19d66613ad7e52c38d6ac64e1 (diff)
parentef4857c2b3d4a61fd1d840199afc92eaf2e15345 (diff)
downloadlibgit2-cf716beed2f4729cf01a9822d75b4f1ebf7ccbf1.tar.gz
Merge pull request #3351 from ethomson/error_buf
Error handling: use buffers, improved OOM handling
Diffstat (limited to 'include')
-rw-r--r--include/git2/errors.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h
index e189e55f1..4698366d8 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -114,18 +114,6 @@ GIT_EXTERN(const git_error *) giterr_last(void);
GIT_EXTERN(void) giterr_clear(void);
/**
- * Get the last error data and clear it.
- *
- * This copies the last error into the given `git_error` struct
- * and returns 0 if the copy was successful, leaving the error
- * cleared as if `giterr_clear` had been called.
- *
- * If there was no existing error in the library, -1 will be returned
- * and the contents of `cpy` will be left unmodified.
- */
-GIT_EXTERN(int) giterr_detach(git_error *cpy);
-
-/**
* Set the error message string for this thread.
*
* This function is public so that custom ODB backends and the like can