summaryrefslogtreecommitdiff
path: root/include/git2/notes.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-08-06 11:06:05 -0700
committerRussell Belfer <rb@github.com>2012-08-06 11:06:05 -0700
commite4607392b5cbdcaf6a5dc810ca77b5dd1afcb147 (patch)
treecec6b085e1829b45943dcbd54127e389e55e04d8 /include/git2/notes.h
parent81f73a872c914fd9fe163a88a7fed48cb0b1027d (diff)
downloadlibgit2-e4607392b5cbdcaf6a5dc810ca77b5dd1afcb147.tar.gz
Fix iterator check and return value
There is a little cleanup necessary from PR #843. Since the new callbacks return `GIT_EUSER` we have to be a little careful about return values when they are used internally to the library. Also, callbacks should be checked for non-zero return values, not just less than zero.
Diffstat (limited to 'include/git2/notes.h')
0 files changed, 0 insertions, 0 deletions