diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-04-06 18:34:25 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-08 17:26:32 +0900 |
commit | 546edf37ae427cf5fdb8c00d1820df73cd16eed6 (patch) | |
tree | 40292bbd4b01932ce43210ef820f5d1ab384048d /refs.h | |
parent | b3cd33d0792768f3a45bed850fbc884fb499388d (diff) | |
download | git-546edf37ae427cf5fdb8c00d1820df73cd16eed6.tar.gz |
refs.c: add refs_shorten_unambiguous_ref()
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -462,6 +462,8 @@ int check_refname_format(const char *refname, int flags); const char *prettify_refname(const char *refname); +char *refs_shorten_unambiguous_ref(struct ref_store *refs, + const char *refname, int strict); char *shorten_unambiguous_ref(const char *refname, int strict); /** rename ref, return 0 on success **/ |