From: "Torsten Bögershausen" <tboegi@web.de>
To: Yu-Hsuan Chen <davidchen9568@gmail.com>, git@vger.kernel.org
Subject: Re: Bug report: Corrupt pack file after committing a large file (>4 GB?)
Date: Fri, 26 May 2017 08:46:46 +0200 [thread overview]
Message-ID: <580a63cd-890a-9c59-9cef-a08a059c2af2@web.de> (raw)
In-Reply-To: <CACX31FFFk1aSn+X9VO6PkCofXPE1fjB6pugLcm+srjXFDJkmyg@mail.gmail.com>
On 2017-05-26 07:51, Yu-Hsuan Chen wrote:
> Dear maintainer,
>
> 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.
>
> This behavior is surprising. If git does not support large files, I
> would at least expect an error message when staging or committing. I
> have post a question on StackOverflow regrading this issue, and has
> been confirmed by another user. (question id: 44022897)
>
> Best regards,
>
> David Chen
>
Issues for Git for Windows should, in general, be reported here:
https://github.com/git-for-windows/git/
After 2 seconds of searching, we can find that the 4Gb problem
has already been reported:
https://github.com/git-for-windows/git/issues/1063
And, to my knowledge, it has not been fixed, since it is a
lot of effort to replace the "long" (or unsigned long) in the
Git code base with a better data type.
In other words, thanks for reminding us, more help is needed.
prev parent reply other threads:[~2017-05-26 6:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-26 5:51 Bug report: Corrupt pack file after committing a large file (>4 GB?) Yu-Hsuan Chen
2017-05-26 6:43 ` Konstantin Khomoutov
2017-05-26 6:46 ` Torsten Bögershausen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=580a63cd-890a-9c59-9cef-a08a059c2af2@web.de \
--to=tboegi@web.de \
--cc=davidchen9568@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).