Re: [PATCH 0/6] Support hashing objects larger than 4GB on Windows
From: Philip Oakley <hidden>
Date: 2026-06-04 21:56:05
On 04/06/2026 18:15, Johannes Schindelin via GitGitGadget wrote:
Philip Oakley has contributed these patches ~4.5 years ago, and they have been carried in Git for Windows ever since. Now that there are already other patch series flying around that try to address various aspects about >4GB objects (which aren't handled well by Git until it stops forcing unsigned long to do size_t's job), it seems a good time to upstream these patches, too, at long last.
Yay. I approve this message ;-) Philip
Philip Oakley (6): hash-object: demonstrate a >4GB/LLP64 problem object-file.c: use size_t for header lengths hash algorithms: use size_t for section lengths hash-object --stdin: verify that it works with >4GB/LLP64 hash-object: add another >4GB/LLP64 test case hash-object: add a >4GB/LLP64 test case using filtered input object-file.c | 18 +++++++++--------- object-file.h | 4 ++-- sha1dc_git.c | 3 +-- sha1dc_git.h | 2 +- t/t1007-hash-object.sh | 39 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 52 insertions(+), 14 deletions(-) base-commit: 9ac3f193c05c2237e2b14ebaa1149e9fc8a1abe0 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-2138%2Fdscho%2FPhilipOakley%2Fhashliteral_t-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2138/dscho/PhilipOakley/hashliteral_t-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/2138