Merge branch 'nd/the-index-final'
authorJunio C Hamano <gitster@pobox.com>
Thu, 7 Feb 2019 06:05:22 +0000 (22:05 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Feb 2019 06:05:23 +0000 (22:05 -0800)
commit7589e63648bf5224e186990931b1491f36e10a4b
treedfd3004e735b69ae91dc08ac4f742f1cb84eae5d
parente52c6bbd131f1f4f17b95e28d12ead0c81a8e890
parentf8adbec9feaa7a1ab9814db1115826e87033712e
Merge branch 'nd/the-index-final'

The assumption to work on the single "in-core index" instance has
been reduced from the library-ish part of the codebase.

* nd/the-index-final:
  cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
  read-cache.c: remove the_* from index_has_changes()
  merge-recursive.c: remove implicit dependency on the_repository
  merge-recursive.c: remove implicit dependency on the_index
  sha1-name.c: remove implicit dependency on the_index
  read-cache.c: replace update_index_if_able with repo_&
  read-cache.c: kill read_index()
  checkout: avoid the_index when possible
  repository.c: replace hold_locked_index() with repo_hold_locked_index()
  notes-utils.c: remove the_repository references
  grep: use grep_opt->repo instead of explict repo argument
38 files changed:
apply.c
attr.c
builtin/add.c
builtin/am.c
builtin/cat-file.c
builtin/checkout-index.c
builtin/checkout.c
builtin/clone.c
builtin/commit.c
builtin/difftool.c
builtin/fsck.c
builtin/grep.c
builtin/log.c
builtin/ls-files.c
builtin/merge-recursive.c
builtin/merge-tree.c
builtin/pack-objects.c
builtin/rebase--interactive.c
builtin/rebase.c
builtin/submodule--helper.c
cache.h
convert.c
dir.c
git.c
list-objects-filter-options.c
merge-recursive.c
pathspec.c
read-cache.c
repository.c
repository.h
revision.c
sequencer.c
sequencer.h
sha1-name.c
submodule.c
t/helper/test-tool.h
tree.c
unpack-trees.c