Git integration - commit hooks

Just wondering if RubyMine is supporitng commit hooks in git.
When I commit a change via the command line, my post-commit hook works as expected.
When doing a commit via RubyMine it seems that the commit hook is not executed.

Any hints?

Thanks,
Joe

3 comments
Comment actions Permalink

Hello Joachim,

The RubyMine Git integration works by executing git through the command line,
so the commit hooks are fully supported.

Just wondering if RubyMine is supporitng commit hooks in git.
When I commit a change via the command line, my post-commit hook works
as expected.
When doing a commit via RubyMine it seems that the commit hook is not
executed.
Any hints?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Unfortunately when I put an echo into one of the commit hooks I am not seeing the ouput on the RubyMine console of 'Version Control' tool window.
This output should be captured there - right ?

0
Comment actions Permalink

Hello Joachim,

Unfortunately when I put an echo into one of the commit hooks I am not
seeing the ouput on the RubyMine console of 'Version Control' tool
window.

This output should be captured there - right ?


No, we don't display the output of the git commands in the Version Control
toolwindow. It's all processed by the plugin itself.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.