[PATCH v2] LICENSES: modify .gitignore files to be nonempty

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

 



The .gitignore files under the LICENSES/exceptions and LICENSES/other
directories cannot have a size of 0 or else they are subject to removal
by the make target 'distclean'. Modify the .gitignore files to
ignore all files except for themselves. This shall serve as a reminder
that these .gitignores can and should be removed when new licenses are
added.

Signed-off-by: Geordan Neukum <gneukum1@xxxxxxxxx>
---
Changes in v2: 
- Added whitespace for readability's sake
- Modified comment to specify intent more clearly 
 
 LICENSES/exceptions/.gitignore | 8 ++++++++
 LICENSES/other/.gitignore      | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/LICENSES/exceptions/.gitignore b/LICENSES/exceptions/.gitignore
index e69de29bb..7323b9e1a 100644
--- a/LICENSES/exceptions/.gitignore
+++ b/LICENSES/exceptions/.gitignore
@@ -0,0 +1,8 @@
+# Placeholder as upstream checkpatch.pl requires this directory to exist
+# This file can be removed when new files are added
+
+# Ignore everything in this directory
+*
+
+# Except for this file
+!.gitignore
diff --git a/LICENSES/other/.gitignore b/LICENSES/other/.gitignore
index e69de29bb..7323b9e1a 100644
--- a/LICENSES/other/.gitignore
+++ b/LICENSES/other/.gitignore
@@ -0,0 +1,8 @@
+# Placeholder as upstream checkpatch.pl requires this directory to exist
+# This file can be removed when new files are added
+
+# Ignore everything in this directory
+*
+
+# Except for this file
+!.gitignore
-- 
2.21.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux