summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMenghan <menghan412@gmail.com>2014-07-12 16:03:56 +0800
committerdormando <dormando@rydia.net>2014-12-31 23:43:00 -0800
commitc5530027c8ea28674358327ab8212ebaf014c848 (patch)
tree7863de3d4c58123c8c5fef01c6a148b61865db6b
parent7edb1a037824bd9164447c2a860de5402d2d548d (diff)
downloadmemcached-c5530027c8ea28674358327ab8212ebaf014c848.tar.gz
add vim swap file to .gitignore and t/whitespace.t's exempt list1.4.22
-rw-r--r--.gitignore1
-rwxr-xr-xt/whitespace.t1
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 1dbb041..3ec4453 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@ doc/protocol-binary.txt
/timedrun
/doc/doxy
/memcached.spec
+.*.swp
diff --git a/t/whitespace.t b/t/whitespace.t
index 7d5d916..d2a1564 100755
--- a/t/whitespace.t
+++ b/t/whitespace.t
@@ -11,6 +11,7 @@ BEGIN {
push(@exempted, glob("doc/xml2rfc/*.xsl"));
push(@exempted, glob("m4/*backport*m4"));
push(@exempted, glob("*.orig"));
+ push(@exempted, glob(".*.swp"));
my %exempted_hash = map { $_ => 1 } @exempted;
my @stuff = split /\0/, `git ls-files -z -c -m -o --exclude-standard`;