git_reference_shorthand

Get the reference's short name

This will transform the reference name into a name "human-readable" version. If no shortname is appropriate, it will return the full name.

The memory is owned by the reference and must not be freed.

@param ref_ a reference @return the human-readable version of the name

extern (C) nothrow @nogc
const(char)*
git_reference_shorthand

Meta