summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorMichael Procter <michael@procter.org.uk>2015-07-27 10:10:18 +0100
committerMichael Procter <michael@procter.org.uk>2015-08-03 15:23:17 +0100
commit0fcfb60dc4f5e6cfd91c902d844f5d8665a5c1a7 (patch)
tree3ad17bbf9a474ede24b5414fad33e9c09573ff82 /include/git2
parent25dbcf34993cad3cdc3981f1ed394d3374fb640f (diff)
downloadlibgit2-0fcfb60dc4f5e6cfd91c902d844f5d8665a5c1a7.tar.gz
Make giterr_restore aware of g_git_oom_error
Allow restoring a previously captured oom error, by detecting when the captured message pointer points to the static oom error message. This means there is no need to strdup the message in giterr_detach.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions