Permalink
Browse files

Add ctags hooks to git_template

  • Loading branch information...
1 parent 606d28a commit 305a0c9cae51dce3dfd307f6c8bf651a1d293921 Benjamin Kudria committed Jul 31, 2012
@@ -0,0 +1,4 @@
+#!/bin/sh
+rm -f .git/tags
+ctags --tag-relative -Rf.git/tags --exclude=.git --languages=-javascript,sql
+
@@ -0,0 +1,3 @@
+#!/bin/sh
+.git/hooks/ctags >/dev/null 2>&1 &
+
@@ -0,0 +1,2 @@
+#!/bin/sh
+.git/hooks/ctags >/dev/null 2>&1 &
@@ -0,0 +1,2 @@
+#!/bin/sh
+.git/hooks/ctags >/dev/null 2>&1 &
@@ -0,0 +1,4 @@
+#!/bin/sh
+case "$1" in
+ rebase) exec .git/hooks/post-merge ;;
+esac

0 comments on commit 305a0c9

Please sign in to comment.