aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2019-07-29 15:10:03 +0200
committerJohn W. Linville <linville@tuxdriver.com>2019-08-09 12:16:25 -0400
commit7c06fa8f174586c966645956d45455405747178c (patch)
treeed8ac575993689c8d1c6c6ef829fd896b3739566
parent49d140193508135475b8927d536533b5232f4675 (diff)
downloadethtool-7c06fa8f174586c966645956d45455405747178c.tar.gz
gitignore: ignore vim swapfiles and patches
The .*.swp files are created by vim to hold the undo/redo log. Add them to .gitignore to prevent "git status" or "git gui" from showing them whenever some file is open in editor. Add also *.patch to hide patches created by e.g. "git format-patch". Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index f1165a2..c4df588 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,6 @@ autom4te.cache
.deps
test-*.log
test-*.trs
+
+.*.swp
+*.patch