From: Philip Oakley Date: Sat, 07 Dec 2019 16:54:37 GMT Subject: Re: Git as data archive Message-ID: <60945f9c-d79c-7806-0c5e-3e2affcea001@iee.email> In-Reply-To: <21fcdc5f-955a-e027-0d71-15f476f6162c@gmx.de> Hi Andreas, On 06/12/2019 18:54, Andreas Kalz wrote: > Hello, > I am using git as archive and versioning also for photos. Apart from > performance issues, I wanted to ask if there are hard limits and > configurable limits (how to configure?) for maximum single file size and > maximum .git archive size (Windows 64 Bit system)? > Thanks in advance for your answer. > All the best, > Andreas On Git the file size is currently limited to size of `long`, rather than `size_t`. Hence on Git-for Windows the size limit is 32bit ~4GiB Any change will be a big change as it ripples through many places in the code base and, for some, will feel 'wrong'. I did some work [1-4] on top of those of many others that was almost there, but... The alternative is git-lfs, which I don't personally use (see [4]). Philip [1] https://github.com/git-for-windows/git/pull/2179 [2] https://github.com/gitgitgadget/git/pull/115 [3] https://github.com/git-for-windows/git/issues/1063 [4] https://github.com/git-lfs/git-lfs/issues/2434