commit 645586a70db24d3eb278d455f2f23b12ebb8d5df parent f602492ffd5e57a5ad2a357a7d591696fd2bc043 Author: Alex Balgavy <alex@balgavy.eu> Date: Tue, 21 Mar 2023 21:45:00 +0100 git: ctags template should follow links Diffstat:
M | git/git_template/hooks/ctags | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/git/git_template/hooks/ctags b/git/git_template/hooks/ctags @@ -5,10 +5,10 @@ dir="$(git rev-parse --git-dir)" trap 'rm -f "$dir/$$.tags"' EXIT # vim ctags git ls-files | \ - ctags --tag-relative=yes -L - -f "$dir/$$.tags" + ctags --tag-relative=yes -L --links=yes - -f "$dir/$$.tags" mv "$dir/$$.tags" "$dir/tags" # emacs etags git ls-files | \ - ctags -e --tag-relative=yes -L - -f "$dir/$$.tags" + ctags -e --tag-relative=yes -L --links=yes - -f "$dir/$$.tags" mv "$dir/$$.tags" "$dir/etags"