☰
Debian Codegraph
@
1.7.10-2
/
/
freeplane_ant
/
scripts
/
git-precommit-hook.sh
☽
☼
freeplane_ant/scripts/git-precommit-hook.sh
code
plain
raw
GPL-2+
2000-2008 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitry Polivaev <
[email protected]
>; 2008-2017 Dimitry Polivaev <
[email protected]
>, Volker Börchers <
[email protected]
>, Felix Natter <
[email protected]
>; 2008-2017 Others
debian/copyright
1
#!/bin/sh
2
3
git diff-index --name-only --cached HEAD | grep .properties | tr \\n \\0 | xargs -0 java -cp ".git/hooks/freeplaneant.jar;.git/hooks/ant.jar" -Dorg.freeplane.ant.FormatTranslation.eolStyle=unix org.freeplane.ant.FormatTranslation
4
5
exit