diff options
| author | Michael Procter <michael@procter.org.uk> | 2015-07-27 10:10:18 +0100 |
|---|---|---|
| committer | Michael Procter <michael@procter.org.uk> | 2015-08-03 15:23:17 +0100 |
| commit | 0fcfb60dc4f5e6cfd91c902d844f5d8665a5c1a7 (patch) | |
| tree | 3ad17bbf9a474ede24b5414fad33e9c09573ff82 /include/git2 | |
| parent | 25dbcf34993cad3cdc3981f1ed394d3374fb640f (diff) | |
| download | libgit2-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
