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>
Sat, 7 Oct 2023 09:36:46 +0000 (10:36 +0100)
Forwarded: not-needed

[bwh: Tweak further for pure git]

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

.gitignore

index 9fd4c9533b3dcc8ebf3363c3faa523db1f56bc90..55232435c4f0c297deba8cca44238b032d10c8ad 100644 (file)
@@ -77,11 +77,6 @@ modules.order
 /*.spec
 /rpmbuild/
 
-#
-# Debian directory (make deb-pkg)
-#
-/debian/
-
 #
 # Snap directory (make snap-pkg)
 #
@@ -92,18 +87,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
-!.kunitconfig
-!.mailmap
-!.rustfmt.toml
-
 #
 # Generated include files
 #
@@ -170,3 +153,10 @@ sphinx_*/
 
 # Rust analyzer configuration
 /rust-project.json
+
+#
+# Debian packaging: ignore everything at the top level, since it isn't
+# included in our repository
+#
+/*
+!/debian/