From 8a1611ac41c595a5c7cd541bf9f3e983ff90c1d9 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 17 Jan 2013 08:55:21 +0000 Subject: [PATCH] Tweak gitignore for Debian pkg-kernel using git Forwarded: not-needed [bwh: Tweak further for pure git] Gbp-Pq: Topic debian Gbp-Pq: Name gitignore.patch --- .gitignore | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 929054df521..004cb22beb6 100644 --- a/.gitignore +++ b/.gitignore @@ -81,11 +81,6 @@ modules.order # /rpmbuild/ -# -# Debian directory (make deb-pkg) -# -/debian/ - # # Snap directory (make snap-pkg) # @@ -102,21 +97,6 @@ modules.order /PKGBUILD /pacman/ -# -# We don't want to ignore the following even if they are dot-files -# -!.clang-format -!.clippy.toml -!.cocciconfig -!.editorconfig -!.get_maintainer.ignore -!.gitattributes -!.gitignore -!.kunitconfig -!.mailmap -!.pylintrc -!.rustfmt.toml - # # Generated include files # @@ -183,3 +163,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/ -- 2.30.2