Skip to content
Browse files

ignore .gitignore'd files in rake test:uncomitted

  • Loading branch information...
1 parent 2eb4ebe commit 2d3e488bb307a0149268006f274d2876ce883ad2 @amatsuda amatsuda committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/test_unit/testing.rake
View
2 railties/lib/rails/test_unit/testing.rake
@@ -87,7 +87,7 @@ namespace :test do
if File.directory?(".svn")
changed_since_checkin = silence_stderr { `svn status` }.split.map { |path| path.chomp[7 .. -1] }
elsif File.directory?(".git")
- changed_since_checkin = silence_stderr { `git ls-files --modified --others` }.split.map { |path| path.chomp }
+ changed_since_checkin = silence_stderr { `git ls-files --modified --others --exclude-standard` }.split.map { |path| path.chomp }
else
abort "Not a Subversion or Git checkout."
end

0 comments on commit 2d3e488

Please sign in to comment.
Something went wrong with that request. Please try again.