Git pre-commit indentation hook
Clément David
clement.david at scilab.org
Fri Jun 10 17:02:34 CEST 2011
Hi all,
I just want to share my pre-commit hook which indent C/C++ files with
'indent` and XML/Xcos files with 'xmllint` just before the commit
message edition.
I hope it will help you.
PS: I love criticism, do not hesitate :)
--
Clément David <clement.david at scilab.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pre-commit
Type: application/x-shellscript
Size: 1754 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20110610/60bc0d40/attachment.bin>
More information about the dev
mailing list