]> git.99rst.org Git - git.git/commit
preload-index: stop depending on 'the_repository'
authorAyush Chandekar <redacted>
Tue, 10 Jun 2025 13:02:21 +0000 (18:32 +0530)
committerJunio C Hamano <redacted>
Tue, 10 Jun 2025 17:10:40 +0000 (10:10 -0700)
commit1fde1c5daf399bb2d645261e38a7f4b8b1de04c6
treee4877ef06aa366efacf8943dfb6bd75b147fa33e
parentb1d47b464e553331c555f122c5e341dfbfb618bd
preload-index: stop depending on 'the_repository'

Refactor "preload-index.c" to remove the dependency on the global
'the_repository'. Replace the occurrences of 'the_repository' with
'index->repo' and thus remove the definition '#define
USE_THE_REPOSITORY_VARIABLE'.

Mentored-by: Christian Couder <redacted>
Mentored-by: Ghanshyam Thakkar <redacted>
Signed-off-by: Ayush Chandekar <redacted>
Signed-off-by: Junio C Hamano <redacted>
preload-index.c
git clone https://git.99rst.org/PROJECT