denio7 / egit

Automatically exported from code.google.com/p/egit
0 stars 0 forks source link

EGit does not seem to execute post-update hooks. #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. On the server running git-shell, create a post-update hook that does
something (mine is one that simply updates files in a htdocs dir)
2. Make some changes and run a 'git push' from EGit.  Note that the push
was successful.
3. Look in the folder and notice that the files have not been updated.

To check that this issue was isolated to egit and not my installation, i
made a modification in notepad, did a git commit on my local version and
then ran a git push via msysgit and all files were copied as expected.

What is the expected output? What do you see instead?

In my situation, the files should be copied however it just looks like the
push itself is done, and the hooks not executed.

What version of the product are you using? On what operating system?

Latest update, running in Zend Studio on windows.

Please provide any additional information below.

Original issue reported on code.google.com by brent.pi...@gmail.com on 23 Jul 2009 at 5:07

GoogleCodeExporter commented 8 years ago
Simmilar issue with post-commit.
I am using version 0.9.1  of e/jgit. When committing from Helios post-commit 
hook is not firing (works fine from command line 'git commit')

Original comment by justnull...@gmail.com on 20 Oct 2010 at 7:07

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/egit/wiki/JGitTutorial
You will also not find a way to automatically run the hooks installed in a 
repository

Original comment by Luffy.D...@gmail.com on 2 Nov 2010 at 5:07

GoogleCodeExporter commented 8 years ago
I see what you mean Luffy, thanks for the pointer.

I hope this feature will be added to jgit and till then I guess will have to 
continue to manually run post-commit hooks. I just have to remember do to do it 
every time.

Is there a way in eclipse to make a custom action, like run egit commit and if 
successful  run a command line post-commit hook?

Original comment by justnull...@gmail.com on 5 Nov 2010 at 4:30

GoogleCodeExporter commented 8 years ago
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=299315, which is essentially 
the same thing, though not literally. We don't use this tracker anymore.  

Original comment by robin.ro...@gmail.com on 7 Nov 2010 at 8:22