From: Ian Campbell Date: Thu, 17 Jan 2013 08:55:21 +0000 (+0000) Subject: Tweak gitignore for Debian pkg-kernel using git svn. X-Git-Tag: archive/raspbian/5.7.6-1+rpi1^2^2^2^2~103 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2d2386f0f0784b58c403f475159fb388c1bbd3f3;p=linux.git 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 --- 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/