diff options
Diffstat (limited to 'git/.git_template/hooks')
-rwxr-xr-x | git/.git_template/hooks/ctags | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/.git_template/hooks/ctags b/git/.git_template/hooks/ctags index 6fc53b6..a52759d 100755 --- a/git/.git_template/hooks/ctags +++ b/git/.git_template/hooks/ctags @@ -3,5 +3,5 @@ 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 +git ls-files | ctags --tag-relative=yes -L - -f"$dir/$$.tags" --languages=-javascript,sql mv "$dir/$$.tags" "$dir/tags" |