Debian Codegraph @

tools/hooks/post-commit

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 echoscip-shell system . . echo.
3 if [scip-shell system . . `[`. -e .commit ]
4 then
5 rmscip-shell system . . rm. .commit
6 echoscip-shell system . . echo. `datescip-shell system . . date. "+%Y-%m-%d %H:%M:%S"` > wxgeometrie/.commit_info
7 gitscip-shell system . . git. describe --long HEAD~1 >> wxgeometrie/.commit_info
8 gitscip-shell system . . git. log -1 --format="%H" HEAD~1 >> wxgeometrie/.commit_info
9 gitscip-shell system . . git. add wxgeometrie/.commit_info
10 gitscip-shell system . . git. commit --amend -C HEAD --no-verify
11 fi
12 exit