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.2.17-1+rpi1^2~120 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7e5340704c6653e019336cd822c4b9dd2b8c21e8;p=linux.git Tweak gitignore for Debian pkg-kernel using git svn. [bwh: Tweak further for pure git] Gbp-Pq: Topic debian Gbp-Pq: Name gitignore.patch --- diff --git a/.gitignore b/.gitignore index 7587ef56b92..bcf0db58bad 100644 --- a/.gitignore +++ b/.gitignore @@ -65,11 +65,6 @@ modules.builtin # /*.spec -# -# Debian directory (make deb-pkg) -# -/debian/ - # # Snap directory (make snap-pkg) # @@ -80,16 +75,6 @@ modules.builtin # /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 # @@ -141,3 +126,10 @@ x509.genkey # Kdevelop4 *.kdev4 + +# +# Debian packaging: ignore everything at the top level, since it isn't +# included in our repository +# +/* +!/debian/