Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » 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 nameFriend
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 RosenbergFriend
Messages: 332
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: Tue Mar 19 06:33:08 GMT 2024

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

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

Back to the top