From: Ian Campbell <ijc@hellion.org.uk>
Date: Thu, 17 Jan 2013 08:55:21 +0000
Subject: Tweak gitignore for Debian pkg-kernel using git svn.
Forwarded: not-needed

[bwh: Tweak further for pure git]

Index: linux/.gitignore
===================================================================
--- linux.orig/.gitignore
+++ linux/.gitignore
@@ -64,11 +64,6 @@ modules.builtin
 /*.spec
 
 #
-# Debian directory (make deb-pkg)
-#
-/debian/
-
-#
 # Snap directory (make snap-pkg)
 #
 /snap/
@@ -79,14 +74,6 @@ modules.builtin
 /tar-install/
 
 #
-# git files that we don't want to ignore even if they are dot-files
-#
-!.gitignore
-!.mailmap
-!.cocciconfig
-!.clang-format
-
-#
 # Generated include files
 #
 include/config
@@ -132,3 +119,10 @@ all.config
 
 # Kdevelop4
 *.kdev4
+
+#
+# Debian packaging: ignore everything at the top level, since it isn't
+# included in our repository
+#
+/*
+!/debian/
