diff options
author | Anurag Gupta <anugupta@microsoft.com> | 2014-03-10 15:38:01 -0700 |
---|---|---|
committer | Anurag Gupta <anugupta@microsoft.com> | 2014-03-24 11:20:13 -0700 |
commit | 3a666071d92562d028e2fba3ff12c49f3155c7f2 (patch) | |
tree | eb47cbaf95572466b55e9e999425b963fc5cfee4 /include/git2/revwalk.h | |
parent | 892aa808e2e879562c45f3d0886668f86265f1cf (diff) | |
download | libgit2-3a666071d92562d028e2fba3ff12c49f3155c7f2.tar.gz |
Unit Tests for hide_cb in revwalk
Diffstat (limited to 'include/git2/revwalk.h')
-rw-r--r-- | include/git2/revwalk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/revwalk.h b/include/git2/revwalk.h index 7ab082752..af425c04d 100644 --- a/include/git2/revwalk.h +++ b/include/git2/revwalk.h @@ -263,7 +263,7 @@ GIT_EXTERN(git_repository *) git_revwalk_repository(git_revwalk *walk); /** * This is a callback function that user can provide to hide a -* commit and its parents. If the callback function returns true, +* commit and its parents. If the callback function returns non-zero value, * then this commit and its parents will be hidden. * * @param commit_id oid of Commit @@ -274,7 +274,7 @@ typedef int(*git_revwalk_hide_cb)( void *payload); /** -* Adds a callback function to hide a commit +* Adds a callback function to hide a commit and its parents * * @param walk the revision walker * @param hide_cb callback function to hide a commit and its parents |