Initial commit
This commit is contained in:
6
config/git_template/hooks/ctags
Executable file
6
config/git_template/hooks/ctags
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
PATH="/usr/local/bin:$PATH"
|
||||
trap "rm -f .git/tags.$$" EXIT
|
||||
ctags --tag-relative -Rf.git/tags.$$ --exclude=.git --fields=+l
|
||||
mv .git/tags.$$ .git/tags
|
||||
2
config/git_template/hooks/post-checkout
Executable file
2
config/git_template/hooks/post-checkout
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
.git/hooks/ctags > /dev/null 2>&1 &
|
||||
3
config/git_template/hooks/post-commit
Executable file
3
config/git_template/hooks/post-commit
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
#git push origin
|
||||
.git/hooks/ctags > /dev/null 2>&1 &
|
||||
2
config/git_template/hooks/post-merge
Executable file
2
config/git_template/hooks/post-merge
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
.git/hooks/ctags > /dev/null 2>&1 &
|
||||
4
config/git_template/hooks/post-rewrite
Executable file
4
config/git_template/hooks/post-rewrite
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
case "$1" in
|
||||
rebase) exec .git/hooks/post-merge ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user