[gnome-builder/gnome-builder-3-28] vcs: always mark minified json as ignored
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-28] vcs: always mark minified json as ignored
- Date: Tue, 20 Mar 2018 21:25:56 +0000 (UTC)
commit 3b870bfa31ad0f655f70c6158ed892df7d86bfc9
Author: Christian Hergert <chergert redhat com>
Date: Tue Mar 20 14:23:10 2018 -0700
vcs: always mark minified json as ignored
This is an early escape hatch that helps prevent us from doing bad things
in various tooling.
src/libide/vcs/ide-vcs.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/libide/vcs/ide-vcs.c b/src/libide/vcs/ide-vcs.c
index e9d88fc33..7892253bc 100644
--- a/src/libide/vcs/ide-vcs.c
+++ b/src/libide/vcs/ide-vcs.c
@@ -117,6 +117,10 @@ ide_vcs_default_init (IdeVcsInterface *iface)
/* Ignore Gio temporary files */
ide_vcs_register_ignored (".goutputstream-*");
+
+ /* Ignore minified JS */
+ ide_vcs_register_ignored ("*.min.js");
+ ide_vcs_register_ignored ("*.min.js.*");
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]