Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6708 from amatsuda/ignore_git_ignored_files_in_ra…

…ke_test_uncommitted

ignore .gitignore'd files in rake test:uncomitted
  • Loading branch information...
commit c53ff3317de5506943d3548ca6fb475bebe79aac 2 parents 0d1f98c + 2d3e488
@josevalim josevalim authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.