lib/git/modified.rb in git-modified-0.2.3 vs lib/git/modified.rb in git-modified-0.3.0

- old
+ new

@@ -29,10 +29,10 @@ end end Contract nil => nil def self.show_modified_files_on_working_tree - puts `git status --porcelain` \ + puts `git status --short` \ .each_line \ .reject { |line| line[0..1].split('').lazy.any? { |x| x == 'D' } } \ .reject { |line| line.match /\.(jpe?g|png|gif|svg|eot|mp3|ttf|wav|wof)$/i } \ .map { |line| if line[0] == 'R' then line.split(' ')[-1] else line[3..-1] end } end