editors: Prevent ctags from following symlinks
authorFilipe Brandenburger <filbranden@google.com>
Fri, 15 Feb 2019 19:01:20 +0000 (11:01 -0800)
committerFilipe Brandenburger <filbranden@google.com>
Fri, 15 Feb 2019 19:01:20 +0000 (11:01 -0800)
commitc8f22490eea530230b288888a70c08cfc7c6abe1
tree9436dde4c9dd5fe789d27b4397957e0bd61facdd
parent2c633a821eb81b1ce7fcca5e23bbbe41f44be77f
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.
.ctags [new file with mode: 0644]