From 6f3d57b6e43d6c6f13c94371f16b79fcdece25bc Mon Sep 17 00:00:00 2001 From: "brian m. carlson" Date: Tue, 10 Nov 2015 02:22:25 +0000 Subject: ref_newer: convert to use struct object_id Convert ref_newer and its caller to use struct object_id instead of unsigned char *. Signed-off-by: brian m. carlson Signed-off-by: Jeff King --- remote.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote.h') diff --git a/remote.h b/remote.h index 163ea5e8d0..4a039bae0b 100644 --- a/remote.h +++ b/remote.h @@ -150,7 +150,7 @@ extern struct ref **get_remote_heads(int in, char *src_buf, size_t src_len, struct sha1_array *shallow); int resolve_remote_symref(struct ref *ref, struct ref *list); -int ref_newer(const unsigned char *new_sha1, const unsigned char *old_sha1); +int ref_newer(const struct object_id *new_oid, const struct object_id *old_oid); /* * Remove and free all but the first of any entries in the input list -- cgit v1.2.3