[gnome-builder/gnome-builder-3-28] ctags: disable loading of ~/.tags



commit e2b73a85fd07bbb2bf425adaf27bf2a38e3d0937
Author: Christian Hergert <chergert redhat com>
Date:   Fri Apr 13 16:59:09 2018 -0700

    ctags: disable loading of ~/.tags
    
    We haven't really gotten anything from this feature, and it just risks
    parsing things out of our control.

 src/plugins/ctags/ide-ctags-service.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/ctags/ide-ctags-service.c b/src/plugins/ctags/ide-ctags-service.c
index b8806ea26..8c35a89eb 100644
--- a/src/plugins/ctags/ide-ctags-service.c
+++ b/src/plugins/ctags/ide-ctags-service.c
@@ -444,10 +444,12 @@ ide_ctags_service_do_mine (gpointer data)
   info.recursive = TRUE;
   g_array_append_val (mine_info, info);
 
+#if 0
   /* mine: ~/.tags */
   info.path = g_strdup (g_get_home_dir ());
   info.recursive = FALSE;
   g_array_append_val (mine_info, info);
+#endif
 
   /* mine the project tree */
   info.path = g_file_get_path (workdir);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]