Add .gitignore files based on svn:ignore properties

For the top-level .gitignore, do this via a patch.
This commit is contained in:
Ben Hutchings 2015-08-11 18:57:35 +02:00
parent ad8f90cc23
commit e0a1c96c55
4 changed files with 39 additions and 0 deletions

17
debian/.gitignore vendored Normal file
View File

@ -0,0 +1,17 @@
!/patches
!*.patch
!*.diff
/*.debhelper
/*.debhelper.log
/*.substvars
/control
/control.md5sum
/files
/hyperv-daemons/
/libusbip-dev/
/linux-kbuild-*
/linux-perf-*
/rules.gen
/stamps/
/tmp/
/usbip/

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
linux-tools (4.1.4-3) UNRELEASED; urgency=medium
* Adjust for migration to git:
- Update .gitignore files
-- Ben Hutchings <ben@decadent.org.uk> Tue, 11 Aug 2015 18:56:56 +0200
linux-tools (4.1.4-2) unstable; urgency=medium
* [mips*,alpha,hppa] linux-perf: Add empty Build files for these architectures

14
debian/patches/gitignore.patch vendored Normal file
View File

@ -0,0 +1,14 @@
From: Ben Hutchings <ben@decadent.org.uk
Date: Tue, 11 Aug 2015 18:52:03 +0200
Subject: Add gitignore to account for upstream source not being checked in
Forwarded: not-needed
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+#
+# Debian packaging: ignore everything at the top level, since it isn't
+# included in our repository
+#
+/*
+!/debian/

View File

@ -1,3 +1,4 @@
gitignore.patch
modpost-symbol-prefix.patch
tools-perf-version.patch
tools-perf-install.patch