Skip to content

Commit

Permalink
add vim swap file to .gitignore and t/whitespace.t's exempt list
Browse files Browse the repository at this point in the history
  • Loading branch information
menghan authored and dormando committed Jan 1, 2015
1 parent 7edb1a0 commit c553002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ doc/protocol-binary.txt
/timedrun
/doc/doxy
/memcached.spec
.*.swp
1 change: 1 addition & 0 deletions t/whitespace.t
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down

0 comments on commit c553002

Please sign in to comment.