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

Re: Bug report: Corrupt pack file after committing a large file (>4 GB?)

From
KKKonstantin Khomoutov <kostix+git@007spb.ru>
Date
May 26, 2017, 06:43 UTC
Message-ID
<20170526064344.o7kifhz5xjbdo4ob@tigra>
In-Reply-To
<CACX31FFFk1aSn+X9VO6PkCofXPE1fjB6pugLcm+srjXFDJkmyg@mail.gmail.com>
On Fri, May 26, 2017 at 01:51:34PM +0800, Yu-Hsuan Chen wrote:
Show 8 quoted lines
> There is a bug where committing a large file corrupts the pack file in
> Windows. Steps to recreate are:
> 
> 1. git init
> 2. stage and commit a file larger than 4 GB (not entirely sure about this size)
> 3. git checkout -f
> 
> The file checked out is much smaller than the original file size.

For a bug report to be at least marginally useful, please state your Git version (run "git --version") and the version of your Windows installation (including whether it's 32- or 64-bit install).

Please also make sure you're really using Git for Windows (that is, you got it from [1] or [2] and not, say, from Cygwin.

The best course of actions is to download the most recent available version from the locations mentioned above and verify the problem still manifests itself.

1. https://git-scm.com/download/win
2. https://git-for-windows.github.io/
Previous: Yu-Hsuan ChenNext: Torsten Bögershausen
Message 2 of 3 in “Bug report: Corrupt pack file after committing a large file (>4 GB?)”
  1. Yu-Hsuan ChenMay 26, 2017
  2. Konstantin KhomoutovMay 26, 2017
  3. Torsten BögershausenMay 26, 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.