Search code examples
gitcygwingit-pullgit-pushgit-daemon

Unable to push to git Repository. It hangs after "Writing Objects: 100%"


I am running git daemon with the following command.

c:\cygwin\bin\git daemon --reuseaddr --base-path=/cygdrive/S --export-all --verbose --enable=receive-pack

I am able to clone and pull updates but when I try to push I get

$ git push origin master

Counting objects: 6, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (6/6)

, then it hangs

I am currently using git version 1.7.0.4


Solution

  • I have the same problem (Ubunut as git server 1.7.0.4, Windows Msysgit is git client 1.7.0.2). While it is ok if I use ubuntu git client.

    I updated the client to 1.7.1.0, it doesn't help

    I use git-daemon to manage the repo (enable receive-back server), and it is a problem. (msysgit with gitdaemon)

    When I switch to gitolite, the problem disappear.

    Suggest to use git-daemon for read-only