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

git at git.openembedded.org git at git.openembedded.org
Thu Jun 14 10:17:15 UTC 2012


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

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 04e36c5..f8db092 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 *.pyc
 *.pyo
+/*.patch
 build*/conf/local.conf
 build*/conf/bblayers.conf
 build*/downloads





More information about the Openembedded-commits mailing list