diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-08-13 14:07:47 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-08-13 14:07:47 +0200 |
commit | a6bf16878a121152f5bddf4d46f641e8f044d278 (patch) | |
tree | 985236fd9f726695ea9591415c89594283290793 /include/git2/commit.h | |
parent | 53ae12359d324890c4d30cc06bd2631ebdec43bb (diff) | |
download | libgit2-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