git: ignore more build directories

Message ID 20190914150509.16549-1-thomas@monjalon.net (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers
Series git: ignore more build directories |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-dpdk_compile_ovs success Compile Testing PASS
ci/iol-dpdk_compile success Compile Testing PASS
ci/iol-dpdk_compile_spdk success Compile Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Performance success Performance Testing PASS
ci/mellanox-Performance success Performance Testing PASS

Commit Message

Thomas Monjalon Sept. 14, 2019, 3:05 p.m. UTC
  Build directories commonly have compiler in their names.
In order to filter build directories not starting with "build-"
(common with make), patterns for gcc and clang are added to .gitignore.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

David Marchand Nov. 20, 2019, 9:48 a.m. UTC | #1
On Sat, Sep 14, 2019 at 5:05 PM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> Build directories commonly have compiler in their names.
> In order to filter build directories not starting with "build-"
> (common with make), patterns for gcc and clang are added to .gitignore.
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>

Acked-by: David Marchand <david.marchand@redhat.com>
  
Thomas Monjalon Nov. 27, 2019, 10:12 p.m. UTC | #2
20/11/2019 10:48, David Marchand:
> On Sat, Sep 14, 2019 at 5:05 PM Thomas Monjalon <thomas@monjalon.net> wrote:
> >
> > Build directories commonly have compiler in their names.
> > In order to filter build directories not starting with "build-"
> > (common with make), patterns for gcc and clang are added to .gitignore.
> >
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> 
> Acked-by: David Marchand <david.marchand@redhat.com>

Applied
  

Patch

diff --git a/.gitignore b/.gitignore
index 5eda2c31e..9741ba076 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,6 @@  TAGS
 # ignore default build directory, and directories from test-meson-builds.sh
 build
 build-*
+# ignore other build directory patterns
+*-gcc*
+*-clang*