.gitignore: allow debian .patch files

The Ubuntu packaging layout with git-buildpackage assumes a
"debian/patches/" directory with several .patch files in it.

When upstream's .gitignore tells Git to ignore .patch files, we have to
edit that line out downstream. When we forget to do that downstream, it
can lead to missing patches and broken downstream builds.

Allow patches in the /debian/patches directory so it's easier to
maintain an Ubuntu package based on upstream's Git repo.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
This commit is contained in:
Ken Dreyer 2017-09-07 11:07:59 -06:00
parent 404e39677b
commit c734b0c029

1
.gitignore vendored
View File

@ -15,6 +15,7 @@
*.tmp
*.orig
*.patch
!debian/patches/*.patch
*.rej
*.rpm
*.pyc