I'm using msysGit on windows7 in a 32bit environment. I'm really new to git so I don't know what else I would need to explain here to help. One thing I can tell you is this repo is a git clone from my svn repo
-
You could try these answers: http://stackoverflow.com/questions/4826639/repack-of-git-repository-fails. – Benoit Garret Sep 09 '11 at 17:32
-
Do you have any huge files in the repository? – svick Sep 09 '11 at 17:40
-
Yes, not by choice. There are some video files. the whole repo is 2.2GB. The largest file is about 800M in one very old revision. – Doug Chamberlain Sep 09 '11 at 17:41
3 Answers
What version of Git are you using? Looks like you may have uncovered an issue prevalent in msysgit for repositories > 2 GB.
Found this in the msysgit issue tracker.. http://code.google.com/p/msysgit/issues/detail?id=194
Also, found some helpful information in.. Managing large binary files with git
Suggestions were to try using git-submodule
for larger binary files. I recommend using this strategy if at all possible.

- 1
- 1

- 1,174
- 1
- 8
- 28
Looks like you are experiencing the same issue as: Repack of Git repository fails
They suggest running:
git config pack.windowMemory 10m
git config pack.packSizeLimit 20m
Your video is almost certainly (lossy) compressed - then there is no way in saving more than say 5%. You should delete it from your repo and use an smb/ftp/whatever share instead. see: How to permanently delete a file stored in GIT?
(for text like files: git compresses old files itself when necessary)