diff options
author | Russell Belfer <rb@github.com> | 2013-05-01 15:23:40 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-05-01 15:23:40 -0700 |
commit | bf6bebe22eff29c6b7ff744b809057acede4e615 (patch) | |
tree | f36806254d7270f5ab10910036f7707c5f4f7ffd /include/git2/commit.h | |
parent | 41e93563e7462bd37cf3a09b8aaac35736046482 (diff) | |
download | libgit2-bf6bebe22eff29c6b7ff744b809057acede4e615.tar.gz |
Factor out some code that needed to clear errors
A number of places were looking up option config values and then
not clearing the error codes if the values were not found. This
moves the repeated pattern into a shared routine and adds the
extra call to giterr_clear() when needed.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions