Prevents swap files from being found by Git

Since swap files can range from *.saa to *.swp, all of these extensions
are now ignored by Git.

Change-Id: I373a98b47002f7eede52b7091dde6ad820b8dfc3
Closes-Bug: #1255865
This commit is contained in:
Kent Wang 2014-09-17 10:57:31 -07:00
parent 78b5b0a957
commit 959c55e2dd

5
.gitignore vendored
View File

@ -1,5 +1,4 @@
*.pyc *.pyc
*.swp
*.log *.log
.glance-venv .glance-venv
.venv .venv
@ -19,6 +18,10 @@ dist
glance.egg-info glance.egg-info
tests.sqlite tests.sqlite
glance/versioninfo glance/versioninfo
# Swap files range from .saa to .swp
*.s[a-w][a-p]
# Files created by doc build # Files created by doc build
doc/source/api doc/source/api