Patchwork [15/16] gitignore: add wildcard to match toplevel patch files

login
register
mail settings
Submitter Scott Garman
Date June 12, 2012, 8:36 p.m.
Message ID <7e32cbf30352e12c55c3c378631f4e238cf682c5.1339533128.git.scott.a.garman@intel.com>
Download mbox | patch
Permalink /patch/29753/
State New
Headers show

Comments

Scott Garman - June 12, 2012, 8:36 p.m.
From: Paul Gortmaker <paul.gortmaker@windriver.com>

To support the basic workflow of trivial patches:

 git format-patch HEAD~.. ; git send-email --to foo@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@linuxfoundation.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .gitignore |    1 +
 1 file changed, 1 insertion(+)

Patch

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