summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-04-06 11:34:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-04-08 08:26:33 (GMT)
commit567009033f7ef4619c890f0e07d7e0b67136e1b1 (patch)
treeb649c8f7ce9993c7faf2d6504390d6a27710ac89 /refs.h
parentd8984c532a18419cdbc69641f981a0a4f553729c (diff)
downloadgit-567009033f7ef4619c890f0e07d7e0b67136e1b1.zip
git-567009033f7ef4619c890f0e07d7e0b67136e1b1.tar.gz
git-567009033f7ef4619c890f0e07d7e0b67136e1b1.tar.bz2
refs.c: add repo_dwim_log()
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/refs.h b/refs.h
index fd3dc1d..859dffe 100644
--- a/refs.h
+++ b/refs.h
@@ -150,6 +150,7 @@ 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 repo_dwim_log(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);