diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-10-23 13:56:37 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-10-23 13:56:37 -0700 |
| commit | 5edbcead426056b54286499149244ae4cbf8b5f7 (patch) | |
| tree | ea98f4a8da0ff289aa9a87ff2c28893b05d6f8c6 /t/helper/test-parse-options.c | |
| parent | Merge branch 'jc/fail-stash-to-store-non-stash' (diff) | |
| parent | Prevent git from rehashing 4GiB files (diff) | |
| download | git-5edbcead426056b54286499149244ae4cbf8b5f7.tar.gz git-5edbcead426056b54286499149244ae4cbf8b5f7.zip | |
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 't/helper/test-parse-options.c')
0 files changed, 0 insertions, 0 deletions
