summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--stat_initial_mode
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2019-02-19 00:05:24 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-01 11:57:39 +0900
commit575fa8a3ed5828f01a934fc3337f05a43ccf7679 (patch)
tree446cbb171d4c30338b57d7f746b76cb868fb1efa /t/t4013/diff.diff-tree_--stat_initial_mode
parentdir: make untracked cache extension hash size independent (diff)
downloadtgif-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.diff-tree_--stat_initial_mode')
0 files changed, 0 insertions, 0 deletions