Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » An egit push does not change my files
An egit push does not change my files [message #582651] Mon, 13 September 2010 11:29 Go to next message
No real name is currently offline 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.

Any ideas?
Re: An egit push does not change my files [message #594638 is a reply to message #582651] Tue, 21 September 2010 18:28 Go to previous message
Robin Rosenberg is currently offline Robin Rosenberg
Messages: 324
Registered: July 2009
Senior Member
bender@higazi.de wrote:

> 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.

-- robin
Previous Topic:Freeze when committing
Next Topic:Status of .gitignore awareness in 0.9?
Goto Forum:
  


Current Time: Sat Sep 20 00:05:07 GMT 2014

Powered by FUDForum. Page generated in 0.03540 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software