]> git.ipfire.org Git - thirdparty/git.git/commit
repository: have the_repository use the_index
authorBrandon Williams <bmwill@google.com>
Tue, 18 Jul 2017 19:05:19 +0000 (12:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Jul 2017 20:32:25 +0000 (13:32 -0700)
commitba43964d47ac29eafafd8d475c299c51c8a1ca75
treed77a6c3387d677a1cbb348350c8625b95d7e8016
parent3f13877595500bd54ee370167bc868f3c1eee5b7
repository: have the_repository use the_index

Have the index state which is stored in 'the_repository' be a pointer to
the in-core index 'the_index'.  This makes it easier to begin
transitioning more parts of the code base to operate on a 'struct
repository'.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
repository.c