I've got a problem with Git failing to commit to a Gitolite repository. I 
have confirmed that I can commit to it from Linux.
I asked about this on the msysGit list, on recommendation from a user 
(based on this likely being a server issue) I am asking here.

The client is a Windows 7 machine running msysGit 1.7.11-preview20120710, 
the server is a Debian 6 box running

When I use the sync GUI push, I get: 
git.exe push -v --progress "origin" master:master 
Pushing to ssh://gitol...@example.com:21/Documents 
Counting objects: 4, done. 
Compressing objects: 100% (3/3) 
Writing objects: 66% (2/3), 104.00 KiB 
fatal: sha1 file '<stdout>' write error: Invalid argument 
fatal: The remote end hung up unexpectedly 
error: failed to push some refs to 'ssh://gitol...@example.com:21/Documents'
With a PuTTY error about "software caused connection abort."

I tried the basic Git bash, and got less detail:
$ git push
Counting objects: 4, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 123.67 KiB, done.
Total 3 (delta 0), reused 0 (delta 0)
Read from remote host example.com: The connection was aborted
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly

I can push/pull normally to the gitolite-admin repository, including 
pushing new files (pubkeys).
The main way I've been able to reproduce this error is by adding a binary 
file to my new "Documents" gitolite repo.

Unfortunately, the key error there ("sha1 file '<stdout>' write error: 
Invalid argument") seems to generally be a Git installation error. Only 
this is a clean installation of MysGit and TortoiseGit.
My frustration is that the error messages presented are very generic, and a 
few searches seem to indicate connection/installation issues, but those are 
most likely not the case. Ideas?

Many thanks!

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to