[oe-commits] Paul Gortmaker : gitignore: add wildcard to match toplevel patch files

git at git.openembedded.org git at git.openembedded.org
Mon Jun 11 12:52:40 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: f9c2d97d549e848127b741b967d90288c60f4d43
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f9c2d97d549e848127b741b967d90288c60f4d43

Author: Paul Gortmaker <paul.gortmaker at windriver.com>
Date:   Fri Jun  8 12:10:57 2012 -0400

gitignore: add wildcard to match toplevel patch files

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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





More information about the Openembedded-commits mailing list