Merge branch 'ps/the-index-is-no-more'
commitf526a4f3142de772bdd2d0dbd4710e401f603a5c
authorJunio C Hamano <gitster@pobox.com>
Wed, 8 May 2024 17:18:44 +0000 (8 10:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 May 2024 17:18:44 +0000 (8 10:18 -0700)
treeba224ae569501c086acff8e8db3896aefa56fd3d
parentc5c9acf77d9bced87c758e8c8aba13a438d34802
parent0c473557908ec626e9e8abf66d2f2308624cdd14
Merge branch 'ps/the-index-is-no-more'

The singleton index_state instance "the_index" has been eliminated
by always instantiating "the_repository" and replacing references
to "the_index"  with references to its .index member.

* ps/the-index-is-no-more:
  repository: drop `initialize_the_repository()`
  repository: drop `the_index` variable
  builtin/clone: stop using `the_index`
  repository: initialize index in `repo_init()`
  builtin: stop using `the_index`
  t/helper: stop using `the_index`
builtin/add.c
builtin/stash.c