public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
* [GSOC PATCH 0/2] preload-index: remove dependency on global variables and 'the_repository'
@ 2025-06-10 13:02 Ayush Chandekar
  2025-06-10 13:02 ` [GSOC PATCH 1/2] environment: remove the global variable 'core_preload_index' Ayush Chandekar
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ayush Chandekar @ 2025-06-10 13:02 UTC (permalink / raw)
  To: git; +Cc: christian.couder, shyamthakkar001, Ayush Chandekar

The aim of this patch series is to remove the definition '#define USE_THE_REPOSITORY_VARIABLE' 
from "preload-index.c" by removing global variables and the global 'the_repository'.

This patch series contains two patches:

1 - Remove the global variable 'core_preload_index' and localize it in the function which calls it.

2 - Remove the dependency of 'the_repository' in "preload-index.c", allowing the removal of 
the definition.

Removing these global variables is part of my GSoC project.

Ayush Chandekar (2):
  environment: remove the global variable 'core_preload_index'
  preload-index: stop depending on 'the_repository'

 config.c        | 5 -----
 environment.c   | 3 ---
 environment.h   | 1 -
 preload-index.c | 7 +++++--
 4 files changed, 5 insertions(+), 11 deletions(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-06-10 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-10 13:02 [GSOC PATCH 0/2] preload-index: remove dependency on global variables and 'the_repository' Ayush Chandekar
2025-06-10 13:02 ` [GSOC PATCH 1/2] environment: remove the global variable 'core_preload_index' Ayush Chandekar
2025-06-10 13:02 ` [GSOC PATCH 2/2] preload-index: stop depending on 'the_repository' Ayush Chandekar
2025-06-10 17:11 ` [GSOC PATCH 0/2] preload-index: remove dependency on global variables and 'the_repository' 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