diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2015-11-10 02:22:25 +0000 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2015-11-20 08:02:05 -0500 |
commit | 6f3d57b6e43d6c6f13c94371f16b79fcdece25bc (patch) | |
tree | e6422f0f7e6ec1c99431693a5cb57aba27a1c1d6 /remote.h | |
parent | 27912a03fd6dc2c8111e328d9ac1a28994fe36d2 (diff) | |
download | git-6f3d57b6e43d6c6f13c94371f16b79fcdece25bc.tar.gz |
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 <sandals@crustytoothpaste.net>
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |