From 2d2386f0f0784b58c403f475159fb388c1bbd3f3 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 svn. Forwarded: not-needed [bwh: Tweak further for pure git] Gbp-Pq: Topic debian Gbp-Pq: Name gitignore.patch --- .gitignore | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 72ef86a5570..b2c8c4e3ca6 100644 --- a/.gitignore +++ b/.gitignore @@ -67,11 +67,6 @@ modules.order # /*.spec -# -# Debian directory (make deb-pkg) -# -/debian/ - # # Snap directory (make snap-pkg) # @@ -82,16 +77,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 # @@ -146,3 +131,10 @@ x509.genkey # Clang's compilation database file /compile_commands.json + +# +# Debian packaging: ignore everything at the top level, since it isn't +# included in our repository +# +/* +!/debian/ -- 2.30.2