mirror of
https://github.com/TeamUlysses/utime.git
synced 2025-03-04 03:22:58 -05:00
testing bringing in common hooks
This commit is contained in:
parent
0bb7af5d1a
commit
4d86224987
12
.git_hooks/post-commit
Executable file
12
.git_hooks/post-commit
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# .git/hooks/post-commit
|
||||
#
|
||||
|
||||
if [ -a .commit ]
|
||||
then
|
||||
rm .commit
|
||||
find . -name "*.build" -exec sh -c "echo `date '+%s'` > {}" \;
|
||||
git add *.build
|
||||
git commit --amend -C HEAD --no-verify
|
||||
fi
|
7
.git_hooks/pre-commit
Executable file
7
.git_hooks/pre-commit
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# .git/hooks/pre-commit
|
||||
#
|
||||
|
||||
# Prevent infinite loops on post-commit
|
||||
touch .commit
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule ".git_hooks"]
|
||||
path = .git_hooks
|
||||
url = https://github.com/TeamUlysses/git-hooks.git
|
Loading…
Reference in New Issue
Block a user