diff options
author | 2019-02-19 00:05:24 +0000 | |
---|---|---|
committer | 2019-04-01 11:57:39 +0900 | |
commit | 575fa8a3ed5828f01a934fc3337f05a43ccf7679 (patch) | |
tree | 446cbb171d4c30338b57d7f746b76cb868fb1efa /t/t4013/diff.noellipses-whatchanged_-SF_master | |
parent | dir: make untracked cache extension hash size independent (diff) | |
download | tgif-575fa8a3ed5828f01a934fc3337f05a43ccf7679.tar.xz |
read-cache: read data in a hash-independent way
Index entries are structured with a variety of fields up front, followed
by a hash and one or two flags fields. Because the hash field is stored
in the middle of the structure, it's difficult to use one fixed-size
structure that easily allows access to the hash and flags fields.
Adjust the structure to hold the maximum amount of data that may be
needed using a member called "data" and read and write this field
independently in the various places that need to read and write the
structure.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.noellipses-whatchanged_-SF_master')
0 files changed, 0 insertions, 0 deletions