blob: 3f7334b8128fb329674a66f979d618cad35ec8cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
@@ -76,11 +76,6 @@ modules.order
#
/rpmbuild/
-#
-# Debian directory (make deb-pkg)
-#
-/debian/
-
#
# Snap directory (make snap-pkg)
#
@@ -91,18 +86,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
#
@@ -169,3 +152,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/
|