Permalink
Browse files

Fetch files in git repos only

  • Loading branch information...
1 parent fed5877 commit 443223013bc4cc7cb1d86622471a09106b135099 @suweller committed Dec 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 git_template/hooks/ctags
View
@@ -2,5 +2,5 @@
set -e
PATH="/usr/local/bin:$PATH"
trap "rm -f .git/tags.$$" EXIT
-ctags --tag-relative -Rf.git/tags.$$ --exclude=.git --languages=-javascript,sql
+git ls-files -z | xargs -0 ctags --tag-relative -f.git/tags.$$ --exclude=doc --languages=-javascript,sql
mv .git/tags.$$ .git/tags

0 comments on commit 4432230

Please sign in to comment.