[PATCH 1/3] gitignore: Don't ignore all hidden files

Stephen Finucane stephenfinucane at hotmail.com
Mon Sep 5 00:25:10 AEST 2016


This allows the addition of some config files.

Signed-off-by: Stephen Finucane <stephenfinucane at hotmail.com>
---
 .gitignore | 50 ++++++++++++++++++++++++--------------------------
 1 file changed, 24 insertions(+), 26 deletions(-)

diff --git a/.gitignore b/.gitignore
index b3af3a4..057d9ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,30 +1,16 @@
-#
-# NOTE! Don't add files that are generated in specific
-# subdirectories here. Add them in the ".gitignore" file
-# in that subdirectory instead.
-#
-# Normal rules
-#
-.*
-*.pyc
-*.patch
-*~
-\#*\#
-
-#
-# Top-level generic files
-#
-tags
-TAGS
-!.gitignore
-
-# configuration files
-patchwork/settings/production.py
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
 
 # stgit generated dirs
 patches-*
 
-# quilt's files
+# CTag
+tags
+TAGS
+
+# quilt files
 /patches
 /series
 
@@ -34,6 +20,18 @@ cscope.*
 *.orig
 *.rej
 
-# test artifacts
-/selenium.log
-/selenium_screenshots
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.coverage
+.coverage.*
+
+# Django stuff:
+*.log
+
+# Selenium test artifacts
+selenium.log
+selenium_screenshots
+
+# Patchwork configuration files
+patchwork/settings/production.py
-- 
2.7.4



More information about the Patchwork mailing list