[Outreachy PATCH v2] diffcore-break: remove USE_THE_REPOSITORY_VARIABLE

From
Okhuomon Ajayi <hidden>
Date
2026-10-14 11:50:31
Reply to
Okhuomon Ajayi, 2026-10-14
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.

Signed-off-by: Okhuomon Ajayi <redacted>
---
Changes since v1:
- Removed the last paragraph of the commit message, as suggested by
  Usman. No code was changed.

 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
Thread (7 messages) 7 messages, 3 authors, last reply 15d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help