diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-01-07 16:32:08 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-15 23:04:46 -0800 |
commit | 22ad8600c1d45ade6bd4b6bd5df87ad733b0575a (patch) | |
tree | 851ac7f190c00510d9db77d6963a9b7b9437f3ea /t/t3060-ls-files-with-tree.sh | |
parent | index-format: use 'cache tree' over 'cached tree' (diff) | |
download | tgif-22ad8600c1d45ade6bd4b6bd5df87ad733b0575a.tar.xz |
index-format: update preamble to cache tree extension
I had difficulty in my efforts to learn about the cache tree extension
based on the documentation and code because I had an incorrect
assumption about how it behaved. This might be due to some ambiguity in
the documentation, so this change modifies the beginning of the cache
tree format by expanding the description of the feature.
My hope is that this documentation clarifies a few things:
1. There is an in-memory recursive tree structure that is constructed
from the extension data. This structure has a few differences, such
as where the name is stored.
2. What does it mean for an entry to be invalid?
3. When exactly are "new" trees created?
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3060-ls-files-with-tree.sh')
0 files changed, 0 insertions, 0 deletions