title: hook is not working eclipse egit client
body: <p>I am trying to trigger a hook file at the time of commit, but this is not working in EGIT. The same hook file is being executed If I use git bash or tortoisegit. Am I missing anything in the installation? 
  How to fix this. I appreciate your help. For your information, below are the details of my eclipse and eclipse git plugin[EGIT]</p>
  
  <pre><code>Eclipse IDE for Java Developers
  Version: Mars Release (4.5.0)
  Build id: 20150621-1200
  
  and Eclipse EGit version:4.0.0.201506090130-r
  </code></pre>