refs: convert read_ref and read_ref_full to object_id
[gitweb.git] / refs / refs-internal.h
index 448de4bccb8f3d9531b50d5489af001ec7ce4732..951bd340c889ba076d2444d6de552c985d78dfdf 100644 (file)
@@ -202,8 +202,8 @@ int ref_update_reject_duplicates(struct string_list *refnames,
 struct ref_update *ref_transaction_add_update(
                struct ref_transaction *transaction,
                const char *refname, unsigned int flags,
-               const unsigned char *new_sha1,
-               const unsigned char *old_sha1,
+               const struct object_id *new_oid,
+               const struct object_id *old_oid,
                const char *msg);
 
 /*