diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-04-06 13:34:28 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-08 10:26:33 +0200 |
commit | d8984c532a18419cdbc69641f981a0a4f553729c (patch) | |
tree | 508b004b8995e7b0355f92258530f9f4f14b17d1 /refs.h | |
parent | refs.c: remove the_repo from expand_ref() (diff) | |
download | git-d8984c532a18419cdbc69641f981a0a4f553729c.tar.xz git-d8984c532a18419cdbc69641f981a0a4f553729c.zip |
refs.c: add repo_dwim_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 | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -149,6 +149,7 @@ struct argv_array; void expand_ref_prefix(struct argv_array *prefixes, const char *prefix); int expand_ref(struct repository *r, const char *str, int len, struct object_id *oid, char **ref); +int repo_dwim_ref(struct repository *r, const char *str, int len, struct object_id *oid, char **ref); int dwim_ref(const char *str, int len, struct object_id *oid, char **ref); int dwim_log(const char *str, int len, struct object_id *oid, char **ref); |