Hide the OID pointed to by a reference
The reference must point to a commit.
the walker being used for the traversal
the referece to hide
0 or an error code