Re: [git-users] How to define commit policy

2011-08-21 Thread Phlip
Pankaj Gupta wrote: When user commit in git repo. we would like certain checks to be done. How can that be achieved. I never use git raw; I always wrap it with fabric. So fab pull trivially calls git pull, but fab ci:'comment' calls all our unit tests, then only calls git commit -am'message'

[git-users] How to define commit policy

2011-08-17 Thread Pankaj Gupta
When user commit in git repo. we would like certain checks to be done. How can that be achieved. Is there a manual which talks about that? P -- You received this message because you are subscribed to the Google Groups Git for human beings group. To post to this group, send email to

Re: [git-users] How to define commit policy

2011-08-17 Thread David Aguilar
If you control the git install you can modify the template files to enable pre-commit hooks (but you can still disable them with a git commit flag). These are the boiler plate files written to .git/ at init and clone time. you can also run checks using Jenkins or whatnot against a designated

Re: [git-users] How to define commit policy

2011-08-17 Thread Konstantin Khomoutov
On Tue, 16 Aug 2011 23:05:24 -0700 (PDT) Pankaj Gupta synopsys_pan...@yahoo.co.in wrote: When user commit in git repo. we would like certain checks to be done. How can that be achieved. Is there a manual which talks about that? To amend what David said, if you really meant permission checks,