Skip to content

Commit

Permalink
Allow imperative form of 'close'.
Browse files Browse the repository at this point in the history
This is consistent with git's message style.
  • Loading branch information
airblade committed Dec 19, 2011
1 parent 66e8f44 commit 01e4d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bugspots/scanner.rb
Expand Up @@ -12,7 +12,7 @@ def self.scan(repo, branch = "master", depth = 500, words = nil)
if words
message_matchers = /#{words.split(',').join('|')}/
else
message_matchers = /fix(es|ed)?|close(s|d)/i
message_matchers = /fix(es|ed)?|close(s|d)?/i
end

repo.commits(branch, depth).each do |commit|
Expand Down

0 comments on commit 01e4d4c

Please sign in to comment.