diff options
Diffstat (limited to 'src/refs.h')
-rw-r--r-- | src/refs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/refs.h b/src/refs.h index ace93e33b..f78ea06b0 100644 --- a/src/refs.h +++ b/src/refs.h @@ -74,6 +74,7 @@ int git_reference__is_valid_name(const char *refname, unsigned int flags); int git_reference__is_branch(const char *ref_name); int git_reference__is_remote(const char *ref_name); int git_reference__is_tag(const char *ref_name); +const char *git_reference__shorthand(const char *name); /** * Lookup a reference by name and try to resolve to an OID. |