I had 2 executables under the hooks directory. not sure how git behaves at 
this situation but removing the wrong one solved the issue.

On Sunday, June 23, 2013 11:59:46 AM UTC+3, Gabby Romano wrote:
> Hi All,
> I wonder if anyone ran into this issue or it's just me here doing 
> something wrong.
> I have a post receive perl hook which parses the commits and based on the 
> parsing results runs some tests. the tests can be run partially or in a 
> full suit mode, based on where the code has changed in the tree.
> what I seems to be seeing now is that although the conditions are met for 
> the partial run to be invoked (and I checked it in debug mode) , after the 
> partial runs were made and the hook should exit, it runs once again and 
> seems to "think" that it needs to run in full suite mode and indeed does so.
> my hook just iterates through the commits and parses them. if it finds 
> something specific, it breaks out of the commits loop and a flag is marked. 
> I have checked it outside the hooking mechanism and it works fine, so I 
> guess it's the hook invocation somehow changes the the running mode or 
> something like that. 
> Ideas ?
> Thanks,
> Gabby.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to