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>
Mon, 24 Feb 2025 01:11:58 +0000 (02:11 +0100)
Forwarded: not-needed

[bwh: Tweak further for pure git]

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

.gitignore

index f53e8be649a24b29178bd99a80e7b69777f736b5..9067781423c97a8f71435ffc1a4caee8f1895a83 100644 (file)
@@ -71,11 +71,6 @@ modules.order
 #
 /*.spec
 
-#
-# Debian directory (make deb-pkg)
-#
-/debian/
-
 #
 # Snap directory (make snap-pkg)
 #
@@ -86,16 +81,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
 #
@@ -155,3 +140,10 @@ x509.genkey
 
 # Documentation toolchain
 sphinx_*/
+
+#
+# Debian packaging: ignore everything at the top level, since it isn't
+# included in our repository
+#
+/*
+!/debian/