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)
committerBen Hutchings <benh@debian.org>
Tue, 9 Jun 2020 17:50:00 +0000 (18:50 +0100)
Forwarded: not-needed

[bwh: Tweak further for pure git]

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

.gitignore

index 72ef86a5570d28015d0ccb95ccd212bf8820c1c2..b2c8c4e3ca6b3365d8c5658a002aedaec0892081 100644 (file)
@@ -67,11 +67,6 @@ modules.order
 #
 /*.spec
 
-#
-# Debian directory (make deb-pkg)
-#
-/debian/
-
 #
 # Snap directory (make snap-pkg)
 #
@@ -82,16 +77,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
 #
@@ -146,3 +131,10 @@ x509.genkey
 
 # Clang's compilation database file
 /compile_commands.json
+
+#
+# Debian packaging: ignore everything at the top level, since it isn't
+# included in our repository
+#
+/*
+!/debian/