From: Ayush Chandekar <ayu.chandekar@gmail.com>
To: git@vger.kernel.org
Cc: christian.couder@gmail.com, shyamthakkar001@gmail.com,
Ayush Chandekar <ayu.chandekar@gmail.com>
Subject: [GSOC PATCH 0/2] preload-index: remove dependency on global variables and 'the_repository'
Date: Tue, 10 Jun 2025 18:32:19 +0530 [thread overview]
Message-ID: <cover.1749557133.git.ayu.chandekar@gmail.com> (raw)
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
next reply other threads:[~2025-06-10 13:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-10 13:02 Ayush Chandekar [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1749557133.git.ayu.chandekar@gmail.com \
--to=ayu.chandekar@gmail.com \
--cc=christian.couder@gmail.com \
--cc=git@vger.kernel.org \
--cc=shyamthakkar001@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox