[Outreachy PATCH] diffcore-break: remove USE_THE_REPOSITORY_VARIABLE
- From
- Okhuomon Ajayi <okhuomonajayi54@gmail.com>
- Date
- Oct 14, 2026, 08:12 UTC
- Message-ID
- <20261014081209.61966-1-okhuomonajayi54@gmail.com>
Since 84325f0730 (merge,diff: remove the_repository check before prefetching blobs, 2026-02-21), diffcore-break.c no longer references the_repository, so it does not need USE_THE_REPOSITORY_VARIABLE.
Without this, new use of the_repository in this file would fail to compile.
Signed-off-by: Okhuomon Ajayi <okhuomonajayi54@gmail.com> --- diffcore-break.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/diffcore-break.c b/diffcore-break.c index b5bcc956cc..71d0e48beb 100644 --- a/diffcore-break.c +++ b/diffcore-break.c @@ -2,8 +2,6 @@ * Copyright (C) 2005 Junio C Hamano */ -#define USE_THE_REPOSITORY_VARIABLE - #include "git-compat-util.h" #include "diffcore.h" #include "hash.h"
-- 2.54.0