summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-05-01 15:23:40 -0700
committerRussell Belfer <rb@github.com>2013-05-01 15:23:40 -0700
commitbf6bebe22eff29c6b7ff744b809057acede4e615 (patch)
treef36806254d7270f5ab10910036f7707c5f4f7ffd /include/git2/commit.h
parent41e93563e7462bd37cf3a09b8aaac35736046482 (diff)
downloadlibgit2-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