summaryrefslogtreecommitdiff
path: root/git_template/hooks
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-08-08 20:08:42 +0200
committerUrbain Vaes <urbain@vaes.uk>2015-08-08 20:08:42 +0200
commit8df9472e0cdbab0d12211c2bc77918e8f515c409 (patch)
treef420b705adfec42bb33191c44c8fe252fca0f785 /git_template/hooks
parentb8a9b07b741cddbf6e0476e70c94aa186d62b6ae (diff)
Improve installation and organization
Diffstat (limited to 'git_template/hooks')
-rwxr-xr-xgit_template/hooks/ctags8
-rwxr-xr-xgit_template/hooks/post-checkout2
-rwxr-xr-xgit_template/hooks/post-commit2
-rwxr-xr-xgit_template/hooks/post-merge2
-rwxr-xr-xgit_template/hooks/post-rewrite4
5 files changed, 0 insertions, 18 deletions
diff --git a/git_template/hooks/ctags b/git_template/hooks/ctags
deleted file mode 100755
index a9a2150..0000000
--- a/git_template/hooks/ctags
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -e
-PATH="/usr/local/bin:$PATH"
-dir="`git rev-parse --git-dir`"
-trap 'rm -f "$dir/$$.tags"' EXIT
-git ls-files | ctags --tag-relative -L - -f"$dir/$$.tags" --languages=-javascript,sql
-mv "$dir/$$.tags" "$dir/tags"
-
diff --git a/git_template/hooks/post-checkout b/git_template/hooks/post-checkout
deleted file mode 100755
index 84f17ed..0000000
--- a/git_template/hooks/post-checkout
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-.git/hooks/ctags >/dev/null 2>&1 &
diff --git a/git_template/hooks/post-commit b/git_template/hooks/post-commit
deleted file mode 100755
index 84f17ed..0000000
--- a/git_template/hooks/post-commit
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-.git/hooks/ctags >/dev/null 2>&1 &
diff --git a/git_template/hooks/post-merge b/git_template/hooks/post-merge
deleted file mode 100755
index 84f17ed..0000000
--- a/git_template/hooks/post-merge
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-.git/hooks/ctags >/dev/null 2>&1 &
diff --git a/git_template/hooks/post-rewrite b/git_template/hooks/post-rewrite
deleted file mode 100755
index fe8972d..0000000
--- a/git_template/hooks/post-rewrite
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-case "$1" in
- rebase) exec .git/hooks/post-merge ;;
-esac