revwalk: allow pushing/hiding a reference by name
The code was already there, so factor it out and let users push an OID by giving it a reference name. Only refs to commits are supported. Annotated tags will throw an error.
Showing
Please
register
or
sign in
to comment