From: Elijah Newren via GitGitGadget Date: Wed, 18 Feb 2026 09:15:15 GMT Subject: [PATCH 5/5] replay: prevent the_repository from coming back Message-ID: In-Reply-To: From: Elijah Newren Due to the use of DEFAULT_ABBREV, we cannot get rid of our usage of USE_THE_REPOSITORY_VARIABLE. We have removed all other uses of the_repository before, but without removing that definition, they keep coming back. Define the_repository to make it a compilation error so that they don't come back any more. Signed-off-by: Elijah Newren --- replay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/replay.c b/replay.c index f97d652f33..a962f53d03 100644 --- a/replay.c +++ b/replay.c @@ -11,6 +11,8 @@ #include "strmap.h" #include "tree.h" +#define the_repository DO_NOT_USE_THE_REPOSITORY + static const char *short_commit_name(struct repository *repo, struct commit *commit) { -- gitgitgadget