Dne 10. 06. 16 v 20:06 Ladislav Slezak napsal(a):
Dne 7.6.2016 v 10:26 Ladislav Slezak napsal(a):
Hi,
I found a quite interesting tool called Overcommit [1].
[...]
The tool looks promising, I'll try using it for some time. If you want to try it
as well check the blog post for the installation steps.--
To make the usage in YaST easier I have created a simple script [1] which
recursively
scans a directory and installs the overcommit hooks in each Git repository
found.
So you can easily install the hooks in all YaST repositories using e.g.
wget
https://raw.githubusercontent.com/lslezak/scripts/master/git/install_overcommit.rb
ruby install_overcommit.rb ~/git/yast
I have improved the script and moved it to the YaST "helper_scripts" repository.
See more details in the REAMDE.
https://github.com/yast/helper_scripts/tree/master/git/overcommit
http://www.suse.cz/
--
Ladislav Slezák
YaST Developer
SUSE LINUX, s.r.o.
Corso IIa
Křižíkova 148/34
18600 Praha 8