Add auto-tags via git hooks
This commit is contained in:
10
config/git_template/hooks/post-checkout
Executable file
10
config/git_template/hooks/post-checkout
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -o errexit
|
||||
|
||||
main() {
|
||||
if [[ -x .git/hooks/ctags ]]; then
|
||||
.git/hooks/ctags &>/dev/null &
|
||||
fi
|
||||
}
|
||||
|
||||
main "${@}"
|
Reference in New Issue
Block a user