Skip to content

Commit c8f2249

Browse files
committed
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.
1 parent 2c633a8 commit c8f2249

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.ctags

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--links=no

0 commit comments

Comments
 (0)