index-format: use 'cache tree' over 'cached tree'

The index has a "cache tree" extension. This corresponds to a significant API implemented in cache-tree.[ch]. However, there are a few places that refer to this erroneously as "cached tree". These are rare, but notably the index-format.txt file itself makes this error. The only other reference is in t7104-reset-hard.sh. Reported-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Derrick Stolee committed Jan 7, 2021 at 16:32 UTC 845d15d4d07bef903bf6f87275d2be11ca0647b5
2 files changed +4 -4
Documentation/technical/index-format.txt
+3 -3
@@ -26,7 +26,7 @@ Git index format
26 Extensions are identified by signature. Optional extensions can
27 be ignored if Git does not understand them.
28
29 - Git currently supports cached tree and resolve undo extensions.
29 + Git currently supports cache tree and resolve undo extensions.
30
31 4-byte extension signature. If the first byte is 'A'..'Z' the
32 extension is optional and can be ignored.
@@ -136,9 +136,9 @@ Git index format
136
137 == Extensions
138
139 -=== Cached tree
139 +=== Cache tree
140
141 - Cached tree extension contains pre-computed hashes for trees that can
141 + Cache tree extension contains pre-computed hashes for trees that can
142 be derived from the index. It helps speed up tree object generation
143 from index for a new commit.
144
t/t7104-reset-hard.sh
+1 -1
@@ -33,7 +33,7 @@ test_expect_success 'reset --hard should restore unmerged ones' '
33
34 '
35
36 -test_expect_success 'reset --hard did not corrupt index or cached-tree' '
36 +test_expect_success 'reset --hard did not corrupt index or cache-tree' '
37
38 T=$(git write-tree) &&
39 rm -f .git/index &&