From: Elia Pinto Date: Thu, 19 Nov 2026 06:53:07 GMT Subject: Re: [PATCH 0/2] grep, diff: do not silently truncate sizes of 4GiB or more Message-ID: <20261119065307.826988-1-gitter.spiros@gmail.com> In-Reply-To: Hi, A gentle ping on this two-patch series, which has had no comments so far. It still applies cleanly to current master (e1ec09b23c) and merges cleanly with 'seen'. The question I would most like an opinion on is the approach of 2/2. Where "long" has 32 bits while size_t has 64, it makes "git diff" die on a worktree file, textconv output and the like of 4GiB or more, as it already does on the blob side, instead of silently diffing a prefix. Making diff work for such files means widening diff_filespec.size, which touches much more code. Is dying acceptable as a first step, or would you rather have the widening instead? Thanks, Elia