[gnome-builder] git: register .git as global ignored pattern



commit f618512f4fad5403d52cd9d0badfef9f6b00b000
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jan 25 03:13:00 2018 -0800

    git: register .git as global ignored pattern

 src/plugins/git/ide-git-plugin.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/git/ide-git-plugin.c b/src/plugins/git/ide-git-plugin.c
index b6fa2d893..c08d3e0c3 100644
--- a/src/plugins/git/ide-git-plugin.c
+++ b/src/plugins/git/ide-git-plugin.c
@@ -72,5 +72,7 @@ ide_git_register_types (PeasObjectModule *module)
       peas_object_module_register_extension_type (module,
                                                   IDE_TYPE_GENESIS_ADDIN,
                                                   IDE_TYPE_GIT_GENESIS_ADDIN);
+
+      ide_vcs_register_ignored (".git");
     }
 }


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