Re: [PATCH v2] compat: Fix read() of 2GB and more on Mac OS X
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Aug 19, 2013, 08:27 UTC
- Message-ID
- <5211D6DC.5090704@kdbg.org>
- In-Reply-To
- <1376894300-28929-1-git-send-email-prohaska@zib.de>
Am 19.08.2013 08:38, schrieb Steffen Prohaska:
> Note that 'git add' exits with 0 even if it prints filtering errors to > stderr. The test, therefore, checks stderr. 'git add' should probably > be changed (sometime in another commit) to exit with nonzero if > filtering fails. The test could then be changed to use test_must_fail.
Thanks for this hint. I was not aware of this behavior.
Of course, we do *not* want to use test_must_fail because git add generally must not fail for files with more than 2GB. (Architectures with a 32bit size_t are a different matter, of course.)
-- Hannes