]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/the-index-is-no-more'
authorJunio C Hamano <gitster@pobox.com>
Wed, 8 May 2024 17:18:44 +0000 (10:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 May 2024 17:18:44 +0000 (10:18 -0700)
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`

1  2 
builtin/add.c
builtin/stash.c

diff --cc builtin/add.c
Simple merge
diff --cc builtin/stash.c
Simple merge