title: Git repository gets corrupted when I do a large commit: "Possible repository corruption on the remote side"
body: <p>A friend of mine and I have been trying to use git for a project. It is hosted on his server, and I git clone it as:</p>
  
  <pre><code>git clone username@IP.ADD.RE.SS:/path/to/git/repos.git
  </code></pre>
  
  <p>Pretty standard stuff, and it works great for a while. But every time one of us has added a large commit (which git supposedly handles very well), of the order of 100MB or so, the git repository gets kind of broken. Basically, at this point I will be able to push new changes and pull other changes (I think), but when I try to clone the repository in a fresh location using that command above, I get an error message that says:</p>
  
  <pre><code>$git clone username@IP.ADD.RE.SS:/path/to/git/repos.git
  Initialized empty Git repository in /local/path/to/repos/.git/
  remote: Counting objects: 1455, done.
  remote: Compressing objects: 100% (1235/1235), done.
  error: git upload-pack: git-pack-objects died with error.s   
  fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
  remote: aborting due to possible repository corruption on the remote side.
  fatal: early EOF
  fatal: index-pack failed
  </code></pre>
  
  <p>This has happened 3 or 4 times now, and it's always when I add a large commit. Any idea why this is happening? How can we fix it? We're both using Mac OSX Snow Leopard.</p>
  
  <p>Thanks!
  -M</p>