From 5643557e63de2cd0b81297fe975b001fa5be2c0a Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Wed, 11 Apr 2018 17:21:17 -0700 Subject: replace-object: allow do_lookup_replace_object to handle arbitrary repositories Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- replace-object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'replace-object.h') diff --git a/replace-object.h b/replace-object.h index dff57bfa1e2..f05354c8616 100644 --- a/replace-object.h +++ b/replace-object.h @@ -14,8 +14,8 @@ struct replace_object { * This internal function is only declared here for the benefit of * lookup_replace_object(). Please do not call it directly. */ -#define do_lookup_replace_object(r, s) do_lookup_replace_object_##r(s) -extern const struct object_id *do_lookup_replace_object_the_repository(const struct object_id *oid); +extern const struct object_id *do_lookup_replace_object(struct repository *r, + const struct object_id *oid); /* * If object sha1 should be replaced, return the replacement object's -- cgit v1.2.3