[gnome-builder] vcs: ignore temporary output streams



commit 6605a0d04d79f2fd8b7c25a2adcbb4e6ba66f5f1
Author: Christian Hergert <chergert redhat com>
Date:   Fri Dec 1 00:04:48 2017 -0800

    vcs: ignore temporary output streams
    
    We use these internally, so we should ensure they are always
    ingored by the vcs layer.

 src/libide/vcs/ide-vcs.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libide/vcs/ide-vcs.c b/src/libide/vcs/ide-vcs.c
index 0e15b86..b04981b 100644
--- a/src/libide/vcs/ide-vcs.c
+++ b/src/libide/vcs/ide-vcs.c
@@ -85,6 +85,9 @@ ide_vcs_default_init (IdeVcsInterface *iface)
                   G_SIGNAL_RUN_LAST,
                   G_STRUCT_OFFSET (IdeVcsInterface, changed),
                   NULL, NULL, NULL, G_TYPE_NONE, 0);
+
+  /* Ignore Gio temporary files */
+  ide_vcs_register_ignored (".goutputstream-*");
 }
 
 /**


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