summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-08-13 14:07:47 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-08-13 14:07:47 +0200
commita6bf16878a121152f5bddf4d46f641e8f044d278 (patch)
tree985236fd9f726695ea9591415c89594283290793 /include/git2/commit.h
parent53ae12359d324890c4d30cc06bd2631ebdec43bb (diff)
downloadlibgit2-a6bf16878a121152f5bddf4d46f641e8f044d278.tar.gz
tree: allow the user to skip an entry or cancel the walk
Returning a negative cancels the walk, and returning a positive one causes us to skip an entry, which was previously done by a negative value. This allows us to stay consistent with the rest of the functions that take a callback and keeps the skipping functionality.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions