summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/gitignore.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:28:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:28:00 +0000
commit3565071f226432336a54d0193d729fa4508a3394 (patch)
tree4cde13f078f84c0a7785d234fd52edce7c90546a /debian/patches/debian/gitignore.patch
parentAdding upstream version 6.6.15. (diff)
downloadlinux-3565071f226432336a54d0193d729fa4508a3394.tar.xz
linux-3565071f226432336a54d0193d729fa4508a3394.zip
Adding debian version 6.6.15-2.debian/6.6.15-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debian/gitignore.patch')
-rw-r--r--debian/patches/debian/gitignore.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/debian/patches/debian/gitignore.patch b/debian/patches/debian/gitignore.patch
new file mode 100644
index 000000000..4be8009d8
--- /dev/null
+++ b/debian/patches/debian/gitignore.patch
@@ -0,0 +1,53 @@
+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
+Forwarded: not-needed
+
+[bwh: Tweak further for pure git]
+
+Index: linux/.gitignore
+===================================================================
+--- linux.orig/.gitignore
++++ linux/.gitignore
+@@ -77,11 +77,6 @@ modules.order
+ /kernel.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/