Patchwork [1/1] gitignore: ignore build*/ entirely

login
register
mail settings
Submitter Ross Burton
Date June 20, 2012, 11:47 a.m.
Message ID <f12684b1c61cf98e52d4f5172e8c54b70e249b0a.1340192772.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/30279/
State Accepted
Commit 6e3353872d377dfe2689832b3f04f18c2366bc8c
Headers show

Comments

Ross Burton - June 20, 2012, 11:47 a.m.
Previously parts of build*/ were ignored, but unless you committed the top-level
build/ in a branch this didn't achieve anything.  Change that to ignore all
top-level build* directories.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 .gitignore |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
Richard Purdie - June 21, 2012, 12:23 p.m.
On Wed, 2012-06-20 at 12:47 +0100, Ross Burton wrote:
> Previously parts of build*/ were ignored, but unless you committed the top-level
> build/ in a branch this didn't achieve anything.  Change that to ignore all
> top-level build* directories.
> 
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>  .gitignore |    6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/.gitignore b/.gitignore
index 688acec..bd0acdc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,11 +2,7 @@  bitbake
 *.pyc
 *.pyo
 /*.patch
-build*/conf/local.conf
-build*/conf/bblayers.conf
-build*/downloads
-build*/tmp/
-build*/sstate-cache
+build*/
 pyshtables.py
 pstage/
 scripts/oe-git-proxy-socks