From 2c12f07d37997863d723d2d4049b7b20b4b971b7 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 162bd2b67bd..08129ae478c 100644 --- a/.gitignore +++ b/.gitignore @@ -70,11 +70,6 @@ modules.order # /*.spec -# -# Debian directory (make deb-pkg) -# -/debian/ - # # Snap directory (make snap-pkg) # @@ -85,16 +80,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 # @@ -152,3 +137,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