refs: convert read_ref_at to struct object_id
[gitweb.git] / refs.h
diff --git a/refs.h b/refs.h
index 89f28d482d865f8a6222ebc1d05ff5e77cd4b82a..5f329d661864bffa2633de26f0dc7210077141c5 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -363,7 +363,7 @@ int safe_create_reflog(const char *refname, int force_create, struct strbuf *err
 /** Reads log for the value of ref during at_time. **/
 int read_ref_at(const char *refname, unsigned int flags,
                timestamp_t at_time, int cnt,
-               unsigned char *sha1, char **msg,
+               struct object_id *oid, char **msg,
                timestamp_t *cutoff_time, int *cutoff_tz, int *cutoff_cnt);
 
 /** Check if a particular reflog exists */