refs.c: remove the_repo from expand_ref()
[gitweb.git] / refs.h
diff --git a/refs.h b/refs.h
index 56275702418168d0af4838a680f0ea27193fa604..b630d5bde7aac767768f7446731147c988ec9cd4 100644 (file)
--- 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);