lib/phare/git.rb in phare-0.6 vs lib/phare/git.rb in phare-0.7

- old
+ new

@@ -11,10 +11,10 @@ def changes @changes ||= Phare.system_output('git status -s').split("\n").each_with_object([]) do |diff, memo| filename = diff.split(' ').last - if diff =~ /^[^D]{2}/ && @extensions.include?(File.extname(filename)) + if diff =~ /^[A|M].*/ && @extensions.include?(File.extname(filename)) memo << filename else next end end