From a4461abe8623980cc13eb9551eafc8ce5160a69f Mon Sep 17 00:00:00 2001
From: Eric Harney <eharney@redhat.com>
Date: Wed, 8 Oct 2014 17:07:07 -0400
Subject: [PATCH] gitignore /.*

Ignore all dotfiles in the base dir of the tree except for
.gitignore, .coveragerc, .mailmap, and .testr.conf.

This should solve the "ignore my IDE's files" problem in a
general way.

Change-Id: Ia53fff4b97e4e99b6827030573973377beddb22b
---
 .gitignore | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/.gitignore b/.gitignore
index 1ab25d67f44..9cc35533baf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,13 +3,12 @@
 *.mo
 *.pyc
 *.sqlite
+/.*
+!.coveragerc
+!.gitignore
+!.mailmap
+!.testr.conf
 .*.sw?
-.cinder-venv
-.coverage
-.testrepository
-.tox
-.venv
-.idea
 AUTHORS
 Authors
 build/*
@@ -30,8 +29,4 @@ tools/pylint_exceptions
 tags
 # Files created by Sphinx build
 doc/build
-.autogenerated
 
-# Development environment files
-.project
-.pydevproject