summaryrefslogtreecommitdiff
path: root/replace-object.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-04-11 17:21:17 -0700
committerJunio C Hamano <gitster@pobox.com>2018-04-12 11:38:57 +0900
commit5643557e63de2cd0b81297fe975b001fa5be2c0a (patch)
tree096497a8fb8b19e626e64b00adcbb59bcce3910c /replace-object.h
parent5982da9d2ce75d445cb2a74351c34efa07342ea2 (diff)
downloadgit-5643557e63de2cd0b81297fe975b001fa5be2c0a.tar.gz
replace-object: allow do_lookup_replace_object to handle arbitrary repositories
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'replace-object.h')
-rw-r--r--replace-object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/replace-object.h b/replace-object.h
index dff57bfa1e..f05354c861 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