From: Sushil Kumar <sushil.kumar2@globallogic.com>
Date: Thu, 28 Nov 2013 07:42:52 +0000 (+0000)
Subject: Updates .gitignore
X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=62523bb7d75b733d31cc81312d3112cc21a49757;p=openstack-build%2Fcinder-build.git

Updates .gitignore

To ignore swap files from getting into repository
currently the implemented ignore is *.swp
however vim adds more swap files if .swp exists,
so improving this with .*.sw?

Closes-Bug: #1255857

Change-Id: I22b6fa351dd565d4783f432c01785c706acd8397
---

diff --git a/.gitignore b/.gitignore
index 2ac3f25c4..1ab25d67f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,7 +3,7 @@
 *.mo
 *.pyc
 *.sqlite
-*.swp
+.*.sw?
 .cinder-venv
 .coverage
 .testrepository