]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs.h
refs: convert dwim_ref and expand_ref to struct object_id
[thirdparty/git.git] / refs.h
diff --git a/refs.h b/refs.h
index 30fbd6f6832f18a5d306b150ec11a4564218bcc0..0d864b0ab1aa62d578ea2b1df02bd6d8c130ef85 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -139,8 +139,8 @@ int resolve_gitlink_ref(const char *submodule, const char *refname,
  */
 int refname_match(const char *abbrev_name, const char *full_name);
 
-int expand_ref(const char *str, int len, unsigned char *sha1, char **ref);
-int dwim_ref(const char *str, int len, unsigned char *sha1, char **ref);
+int expand_ref(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, unsigned char *sha1, char **ref);
 
 /*