lookup_reference_dwim
Description:
Lookups a reference by its short name in this applying the git precendence rules to the given shorthand to determine which reference the user is referring to.
The returned Ref must be freed with unref.
Parameters:
this |
a Repository. |
short_name |
the short name for the reference (e.g. master, v0.1.0, ...). |
Returns:
the searched reference. |