This is a callback function that user can provide to hide a commit and its parents. If the callback function returns non-zero value, then this commit and its parents will be hidden.
oid of Commit
User-specified pointer to data to be passed as data payload