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



commit 907157d1329217f80c3c8a5a77fb515224a8458b
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 6327dcfff..30f4a757a 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]