revwalk: Allow changing hide_cb

Since git_revwalk objects are encouraged to be reused, a public
interface for changing hide_cb is desirable.
This commit is contained in:
Eivind Fonn
2018-11-14 16:08:30 +01:00
parent 9189a66a9e
commit 0836f0695e
3 changed files with 33 additions and 10 deletions

View File

@@ -279,7 +279,7 @@ typedef int(*git_revwalk_hide_cb)(
void *payload);
/**
* Adds a callback function to hide a commit and its parents
* Adds, changes or removes 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