From: Filipe Brandenburger Date: Fri, 15 Feb 2019 19:01:20 +0000 (-0800) Subject: editors: Prevent ctags from following symlinks X-Git-Tag: v242-rc1~313^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8f22490eea530230b288888a70c08cfc7c6abe1;p=thirdparty%2Fsystemd.git 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. --- diff --git a/.ctags b/.ctags new file mode 100644 index 00000000000..a75e12e86e7 --- /dev/null +++ b/.ctags @@ -0,0 +1 @@ +--links=no