From 408b4f3f4200b407a11fbdda32096dcf936372f7 Mon Sep 17 00:00:00 2001
From: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
Date: Mon, 6 Feb 2017 12:00:49 +0100
Subject: [PATCH] Add .swp .swo .swn to .gitignore

According to http://vimdoc.sourceforge.net/htmldoc/recover.html vim
creates .swo .swn .swp files. This patch adds them to .gitignore in all
directories recursively

Closes: #973
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 908b3c11e..2b4490687 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,5 @@ temp
 *.pyo
 *.tfstate
 *.tfstate.backup
+**/*.sw[pon]
 /ssh-bastion.conf
-- 
GitLab