No real name Messages: 2 Registered: September 2010
Junior Member
Hi,
i have a push problem with egit.
I created a bare repo on my server (windows server 2008) with this tutorial http://toroid.org/ams/git-website-howto
- post-receive: (git checkout -f)
- --work-dir = (points to my htdocs folder)
When i push my local repo with tortoiseGit or git extension to the server everything works fine. The bare repo on my server execute the post-receive and my woking dir is updated. (file push - no ssh access)
But when i push my changes with egit to the bare repo on my server it does not execute my post-receive. My working dir is not updated. The files stucks in the staging area on my server. I have to start a "git checkout -f" or "git commit" manually.
> Hi,
>
> i have a push problem with egit.
> I created a bare repo on my server (windows server 2008) with this
> tutorial http://toroid.org/ams/git-website-howto - post-receive: (git
> checkout -f) - --work-dir = (points to my htdocs folder)
>
> When i push my local repo with tortoiseGit or git extension to the server
> everything works fine. The bare repo on my server execute the post-receive
> and my woking dir is updated. (file push - no ssh access)
>
> But when i push my changes with egit to the bare repo on my server it does
> not execute my post-receive. My working dir is not updated. The files
> stucks in the staging area on my server. I have to start a "git checkout
> -f" or "git commit" manually.
>
> Any ideas?
Yes. JGit currently does not execute hooks when dealing with a "local" (as
in "accessible through the file system") repo, JGit does the receive part
itself. A known deficiency in the current version.