summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-10-23 13:56:37 -0700
committerJunio C Hamano <gitster@pobox.com>2023-10-23 13:56:37 -0700
commit5edbcead426056b54286499149244ae4cbf8b5f7 (patch)
treeea98f4a8da0ff289aa9a87ff2c28893b05d6f8c6 /builtin/commit.c
parent626f689f7903b51342cf31ad3792ba5e9e41586d (diff)
parent5143ac07b17e2b025865378fce24cc11ac7bf8b1 (diff)
Merge branch 'bc/racy-4gb-files'
The index file has room only for lower 32-bit of the file size in the cached stat information, which means cached stat information will have 0 in its sd_size member for a file whose size is multiple of 4GiB. This is mistaken for a racily clean path. Avoid it by storing a bogus sd_size value instead for such files. * bc/racy-4gb-files: Prevent git from rehashing 4GiB files t: add a test helper to truncate files
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions