Git development
 help / color / mirror / Atom feed
* [Outreachy PATCH] diffcore-break: remove USE_THE_REPOSITORY_VARIABLE
@ 2026-10-14  8:12 Okhuomon Ajayi
  2026-10-14 10:24 ` Usman Akinyemi
  2026-10-14 11:49 ` [Outreachy PATCH v2] " Okhuomon Ajayi
  0 siblings, 2 replies; 7+ messages in thread
From: Okhuomon Ajayi @ 2026-10-14  8:12 UTC (permalink / raw)
  To: git
  Cc: christian.couder, usmanakinyemi202, siddharthasthana31,
	kaartic.sivaraam, Okhuomon Ajayi

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-10-26 18:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14  8:12 [Outreachy PATCH] diffcore-break: remove USE_THE_REPOSITORY_VARIABLE Okhuomon Ajayi
2026-10-14 10:24 ` Usman Akinyemi
2026-10-14 10:57   ` Okhuomon Ajayi
2026-10-14 11:10     ` Usman Akinyemi
2026-10-14 11:12       ` Okhuomon Ajayi
2026-10-14 11:49 ` [Outreachy PATCH v2] " Okhuomon Ajayi
2026-10-26 18:10   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox