Skip to content

Commit

Permalink
.gitignore: allow debian .patch files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ktdreyer committed Sep 7, 2017
1 parent 404e396 commit c734b0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*.tmp
*.orig
*.patch
!debian/patches/*.patch
*.rej
*.rpm
*.pyc
Expand Down

0 comments on commit c734b0c

Please sign in to comment.