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:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-04-08 08:26:33 (GMT)
commit0b1dbf53dfeed20bd9bc34631e04c5db37ee6121 (patch)
tree782966b0d584c2a48f59630d7330f2ef1b109bd1 /refs.h
parent8f56e9d4baa836a4a3cd56767457d6122de7ce1d (diff)
downloadgit-0b1dbf53dfeed20bd9bc34631e04c5db37ee6121.zip
git-0b1dbf53dfeed20bd9bc34631e04c5db37ee6121.tar.gz
git-0b1dbf53dfeed20bd9bc34631e04c5db37ee6121.tar.bz2
refs.c: remove the_repo from expand_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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.h b/refs.h
index 5627570..b630d5b 100644
--- a/refs.h
+++ b/refs.h
@@ -148,7 +148,7 @@ int refname_match(const char *abbrev_name, const char *full_name);
struct argv_array;
void expand_ref_prefix(struct argv_array *prefixes, const char *prefix);
-int expand_ref(const char *str, int len, struct object_id *oid, char **ref);
+int expand_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);