refs: convert reflog_expire parameter to struct object_id
[gitweb.git] / refs / refs-internal.h
index 951bd340c889ba076d2444d6de552c985d78dfdf..3c4781eb875b4353dff943288a6eef73ec271ff2 100644 (file)
@@ -608,7 +608,7 @@ typedef int create_reflog_fn(struct ref_store *ref_store, const char *refname,
                             int force_create, struct strbuf *err);
 typedef int delete_reflog_fn(struct ref_store *ref_store, const char *refname);
 typedef int reflog_expire_fn(struct ref_store *ref_store,
-                            const char *refname, const unsigned char *sha1,
+                            const char *refname, const struct object_id *oid,
                             unsigned int flags,
                             reflog_expiry_prepare_fn prepare_fn,
                             reflog_expiry_should_prune_fn should_prune_fn,