From 8122ae1088c6c5e77804ff6eb0533c963615a0e6 Mon Sep 17 00:00:00 2001
From: Clint Armstrong <clint@clintarmstrong.net>
Date: Tue, 1 Dec 2015 14:42:12 -0500
Subject: [PATCH] gitignore for custom modules

This gitignore ignores anything in the modules directory while explicitly including modules that ship with simplesamlphp. This allows users to create and maintain custom modules while tracking upstream.
---
 modules/.gitignore | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 modules/.gitignore

diff --git a/modules/.gitignore b/modules/.gitignore
new file mode 100644
index 000000000..14877bd3f
--- /dev/null
+++ b/modules/.gitignore
@@ -0,0 +1,41 @@
+# Ignore any files or directories in this directory
+/*
+!/.gitignore
+
+# Explicitly include modules that ship with simplesamlphp
+!/adfs/
+!/authcrypt/
+!/authfacebook/
+!/authlinkedin/
+!/authmyspace/
+!/authorize/
+!/authtwitter/
+!/authwindowslive/
+!/authX509/
+!/authYubiKey/
+!/cas/
+!/casserver/
+!/cdc/
+!/consent/
+!/consentAdmin/
+!/core/
+!/cron/
+!/discopower/
+!/exampleattributeserver/
+!/exampleauth/
+!/expirycheck/
+!/ldap/
+!/memcacheMonitor/
+!/metarefresh/
+!/multiauth/
+!/negotiate/
+!/oauth/
+!/portal/
+!/preprodwarning/
+!/radius/
+!/riak/
+!/saml/
+!/sanitycheck/
+!/smartattributes/
+!/sqlauth/
+!/statistics/
-- 
GitLab