git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Bug with corruption on clone/fsck/... with large packs + 64-bit Windows, problem with usage of "long" datatype for sizes/offsets?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 14, 2017, 16:05 UTC
Message-ID
<alpine.DEB.2.21.1.1708141802510.19382@virtualbox>
In-Reply-To
<1232852793.287524.1502435085656.JavaMail.zimbra@absint.com>
Hi Christoph,
On Fri, 11 Aug 2017, Dr.-Ing. Christoph Cullmann wrote:
> on Windows 64-bit, for a repository having a .pack file > 4GB I get
> during cloning:

The reason is Git's source code that over-uses the `unsigned long` datatype.

In a nearby-thread, an underappreciated effort by Martin Koegler is underway to get the ball rolling in getting it fixed. Maybe you can help making Martin a lot more welcome on the Git mailing list, and maybe even help getting his patches reviewed and integrated?

Ciao, Johannes

Previous: Dr.-Ing. Christoph CullmannNext: Stefan Beller
Message 2 of 4 in “Bug with corruption on clone/fsck/... with large packs + 64-bit Windows, problem with usage of "long" datatype for sizes/offsets?”
  1. Dr.-Ing. Christoph CullmannAug 11, 2017
  2. Johannes SchindelinAug 14, 2017
  3. Stefan BellerAug 14, 2017
  4. Junio C HamanoAug 14, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.