[yocto] [PATCH] gitignore: add wildcard to match toplevel patch files

Paul Gortmaker paul.gortmaker at windriver.com
Fri Jun 8 09:10:57 PDT 2012


To support the basic workflow of trivial patches:

 git format-patch HEAD~.. ; git send-email --to foo at bar.com 0001-foo.patch

We don't want git status reporting on patches lying in the top
level dir in this case.

Cc: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
---
 .gitignore |    1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 7f9f082..688acec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
 bitbake
 *.pyc
 *.pyo
+/*.patch
 build*/conf/local.conf
 build*/conf/bblayers.conf
 build*/downloads
-- 
1.7.9.6




More information about the yocto mailing list