Tweak gitignore for Debian pkg-kernel using git svn.
authorIan Campbell <ijc@hellion.org.uk>
Thu, 17 Jan 2013 08:55:21 +0000 (08:55 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Wed, 10 Aug 2022 18:11:48 +0000 (19:11 +0100)
Forwarded: not-needed

[bwh: Tweak further for pure git]

Gbp-Pq: Topic debian
Gbp-Pq: Name gitignore.patch

.gitignore

index 7afd412dadd2c18b2d1e0c7813b2979ceedabf30..2f0f84e5048d43a3261a047c3d4d2daa78b672d0 100644 (file)
@@ -72,11 +72,6 @@ modules.order
 #
 /*.spec
 
-#
-# Debian directory (make deb-pkg)
-#
-/debian/
-
 #
 # Snap directory (make snap-pkg)
 #
@@ -87,16 +82,6 @@ modules.order
 #
 /tar-install/
 
-#
-# We don't want to ignore the following even if they are dot-files
-#
-!.clang-format
-!.cocciconfig
-!.get_maintainer.ignore
-!.gitattributes
-!.gitignore
-!.mailmap
-
 #
 # Generated include files
 #
@@ -161,3 +146,10 @@ x509.genkey
 
 # Documentation toolchain
 sphinx_*/
+
+#
+# Debian packaging: ignore everything at the top level, since it isn't
+# included in our repository
+#
+/*
+!/debian/