# RE: [PATCH] Prevent git from rehashing 4GBi files

1 messages from 2022-05-07 to 2022-05-07. Participants: Jason Hatton.
Thread: https://gitlist.dev/t/57861

## Jason Hatton, 2022-05-07 18:10

Subject: RE: [PATCH] Prevent git from rehashing 4GBi files
Message-ID: <CY4PR16MB1655F08CD03748C491FE4BB9AFC49@CY4PR16MB1655.namprd16.prod.outlook.com>
URL: https://gitlist.dev/e/CY4PR16MB1655F08CD03748C491FE4BB9AFC49%40CY4PR16MB1655.namprd16.prod.outlook.com
In-Reply-To: <CY4PR16MB165501ED1B535592033C76F2AFC49@CY4PR16MB1655.namprd16.prod.outlook.com>

```
> Philip wrote:
>
> Is this on Git for Windows or a 64 bit Linux?
> There are still some issues on GfW for 2GiB+ files (long Vs long long int).

It was on GfW 64 bit. The Linux 64 bit one seems OK.

Further testing shows that unpatched GfW 64 bit chokes on 4GiB files. Just
use git add and git fsck. At least this patch seems to work on Linux
and works on GfW when using LFS.

--
Jason

```
