summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-07-26 16:10:22 -0700
committerRussell Belfer <rb@github.com>2012-07-26 16:10:22 -0700
commit2031760c626711cc69b4d63ac9798ff333583ca0 (patch)
treeac0d701b3a33eb357ee4bbbcc7e7787cfa11bdcb /include/git2/diff.h
parent0aeae70553beb06d8df288232f1a1d345631f3cd (diff)
downloadlibgit2-2031760c626711cc69b4d63ac9798ff333583ca0.tar.gz
Fix git_tree_walk to return user error
This makes sure that an error code returned by the callback function of `git_tree_walk` will stop the iteration and get propagated back to the caller verbatim. Also, this adds a minor helper function `git_tree_entry_byoid` that searches a `git_tree` for an entry with the given OID. This isn't a fast function, but it's easier than writing the loop yourself as an external user of the library.
Diffstat (limited to 'include/git2/diff.h')
0 files changed, 0 insertions, 0 deletions