git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [GSOC PATCH 0/2] preload-index: remove dependency on global variables and 'the_repository'

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 10, 2025, 17:11 UTC
Message-ID
<xmqqecvrmsh0.fsf@gitster.g>
In-Reply-To
<cover.1749557133.git.ayu.chandekar@gmail.com>
Ayush Chandekar <ayu.chandekar@gmail.com> writes:
Show 13 quoted lines
> 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.
Both patches are pretty straight-forward and readable.  Will queue.  Thanks.
Previous: Ayush Chandekar
Message 4 of 4 in “preload-index: remove dependency on global variables and 'the_repository'”
  1. 0/2 preload-index: remove dependency on global variables and 'the_repository'Ayush Chandekar, Jun 10, 2025
  2. 1/2 environment: remove the global variable 'core_preload_index'Ayush Chandekar, Jun 10, 2025
  3. 2/2 preload-index: stop depending on 'the_repository'Ayush Chandekar, Jun 10, 2025
  4. Junio C HamanoJun 10, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.