diff options
author | Russell Belfer <rb@github.com> | 2013-11-04 15:45:31 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-11-04 15:45:31 -0800 |
commit | d6c6016966cff46d874a8d85b38704a6ef2150e5 (patch) | |
tree | ee7bd8d462e5dcfd9ed6caba7aa0531c0d44ede3 /tests/diff/diffiter.c | |
parent | 0e1115d2872fcb8f13fd28a52f1f14d52792623e (diff) | |
download | libgit2-d6c6016966cff46d874a8d85b38704a6ef2150e5.tar.gz |
Add giterr_detach API to get and clear error
There are a number of cases where it is convenient to be able to
fetch and "claim" the current error string, clearing the error.
This is helpful when you need to call some code that may alter
the error and you want to restore it later on and/or report it via
some other mechanism.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions