pr-2138/dscho/PhilipOakley/hashliteral_t-v2
tagged this
16 Jun 14:49
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. Changes since v1: * Rebased to current master to resolve the conflicts with ps/odb-source-loose * Dropped the !LONG_IS_64BIT prereq from the added/touched tests, as it is now no longer needed 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 | 14 +++++++------- object-file.h | 6 +++--- odb/source-files.c | 2 +- odb/source-inmemory.c | 2 +- odb/source-loose.c | 4 ++-- odb/source.h | 2 +- sha1dc_git.c | 3 +-- sha1dc_git.h | 2 +- t/t1007-hash-object.sh | 39 +++++++++++++++++++++++++++++++++++++++ 9 files changed, 56 insertions(+), 18 deletions(-) base-commit: 700432b2ba22603a0bcb71475c9c333d17c9b0d1 Submitted-As: https://lore.kernel.org/git/pull.2138.v2.git.1781621398.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.2138.git.1780593313.gitgitgadget@gmail.com