"Mononen Jussi" <[email protected]> writes:

>> Anyone who knows how to get Emacs to indent code like what the libssh2
>> uses?  What IS the libssh2 coding style anyway?  It doesn't seem to be
>> BSD nor K&R and definitely not the GNU style.
>> 
>> Alternatively, what parameters to 'indent' can I use to fix 
>> indentation
>> of code I write?
>
> What about adding a git commit-hook that would run a code formatter?
> Everyone could use their own style and the repo would still contain a
> uniform style.

Yes, I'd really like that.  I recall Daniel posted indent-parameters
before.  Can we add a commit-hook on the git server to run it, Peter?

/Simon
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to