Skip to contentSkip to conversation

gitignore: add wildcard to match toplevel patch files

PATCH Applied Paul Gortmaker 2 participants 2 messages Jun 8, 2012 – Jun 11, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitignore: add wildcard to match toplevel patch files

To support the basic workflow of trivial patches:

git format-patch HEAD~.. ; git send-email --to [email protected] 0001-foo.patch

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

---
 .gitignore |    1 +
 1 file changed, 1 insertion(+)
.gitignore +1 -0
index 7f9f082..688acec 100644
@@ -1,6 +1,7 @@
 bitbake
 *.pyc
 *.pyo
+/*.patch
 build*/conf/local.conf
 build*/conf/bblayers.conf
 build*/downloads
Signature · 1 line
1.7.9.6
#1 lore raw
Quoted 6 lines · Paul Gortmaker

To support the basic workflow of trivial patches:

git format-patch HEAD~.. ; git send-email --to [email protected] 0001-foo.patch

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

Merged to master, thanks.

Richard