From 33549376987b18a9bdcf5f56e62268c5791124bc Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Thu, 7 Sep 2017 11:07:59 -0600 Subject: [PATCH] .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 (cherry picked from commit c734b0c0296152721b658af7b699a64b3a49d251) --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 9a0cd9f0a155d..7d42fb41f1934 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ *.tmp *.orig *.patch +!debian/patches/*.patch *.rej *.rpm *.pyc -- 2.39.5