Re: [git-users] Enforce C# code style with git hooks

2015-01-14 Thread Peter van der Does
On 01/13/2015 02:35 PM, Marko Paloski wrote: > Hello, > > I want to make i script that check the code style in the commit, so if > don't matches, it will not allow the developers to commit the code. > > The script will be in pre-commit local or in pre-recieve on the server. > I find something abo

Re: [git-users] Enforce C# code style with git hooks

2015-01-14 Thread Peter van der Does
On 01/14/2015 11:02 AM, Thomas Ferris Nicolaisen wrote: > On Wednesday, January 14, 2015 at 3:47:17 PM UTC+1, Peter van der Does > wrote: > > > I don't know uncrustify, how can you tell with uncrustify if code is > not > in your preferred code style? > > > > There are a myriad of t

Re: [git-users] Enforce C# code style with git hooks

2015-01-14 Thread Thomas Ferris Nicolaisen
On Wednesday, January 14, 2015 at 3:47:17 PM UTC+1, Peter van der Does wrote: > > > I don't know uncrustify, how can you tell with uncrustify if code is not > in your preferred code style? > > > There are a myriad of tools like this: http://en.wikipedia.org/wiki/List_of_tools_for_static_code_an

Re: [git-users] Enforce C# code style with git hooks

2015-01-14 Thread Peter van der Does
On 01/13/2015 02:35 PM, Marko Paloski wrote: > Hello, > > I want to make i script that check the code style in the commit, so if > don't matches, it will not allow the developers to commit the code. > > The script will be in pre-commit local or in pre-recieve on the server. > I find something abo