Subject: Re: [PATCH v4 8/8] clean/smudge: allow clean filters to process extremely large files

From: Junio C Hamano <[email-masked]>
Date: Thu, 04 Nov 2021 10:26:55 -0700

"Matt Cooper via GitGitGadget" <[email-masked]> writes:

>  struct filter_params {
>  	const char *src;
> -	unsigned long size;
> +	size_t size;
>  	int fd;
>  	const char *cmd;
>  	const char *path;

OK, this member is used in only two places in the file.  One is used
as a parameter to write_in_full() that is prepared to take size_t.
The other is to assign to this member from a size_t parameter the
apply_single_file_filter() function got from the caller, and the
callchain leading down to the function are size_t aware.

So, this may only make "a small dent" as described in the proposed
log message, but it does move it in the right direction.

Thanks.