summaryrefslogtreecommitdiff
path: root/.ctags
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2019-02-15 11:01:20 -0800
committerFilipe Brandenburger <filbranden@google.com>2019-02-15 11:01:20 -0800
commitc8f22490eea530230b288888a70c08cfc7c6abe1 (patch)
tree9436dde4c9dd5fe789d27b4397957e0bd61facdd /.ctags
parent2c633a821eb81b1ce7fcca5e23bbbe41f44be77f (diff)
downloadsystemd-c8f22490eea530230b288888a70c08cfc7c6abe1.tar.gz
editors: Prevent ctags from following symlinks
Some tests will create a subtree of /sys under build/test/sys and depending on the local system that tree might end up having an infinite chain of symlinks. For example: $ ls build/test/sys/devices/pnp0/00:00/subsystem/devices/00:00/subsystem/devices/00:00/subsystem/devices/00:00/subsystem/devices/00:00/subsystem/devices/00:00/subsystem/ devices drivers drivers_autoprobe Exuberant ctags will by default follow symlinks, so configure it not to do so through a local .ctags file setting --links=no. Tested that `ctags -R` doesn't get stuck with the dotfile present.
Diffstat (limited to '.ctags')
-rw-r--r--.ctags1
1 files changed, 1 insertions, 0 deletions
diff --git a/.ctags b/.ctags
new file mode 100644
index 0000000000..a75e12e86e
--- /dev/null
+++ b/.ctags
@@ -0,0 +1 @@
+--links=no