Skip to content

Commit c53ff33

Browse files
author
José Valim
committed
Merge pull request rails#6708 from amatsuda/ignore_git_ignored_files_in_rake_test_uncommitted
ignore .gitignore'd files in rake test:uncomitted
2 parents 0d1f98c + 2d3e488 commit c53ff33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/test_unit/testing.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ namespace :test do
8787
if File.directory?(".svn")
8888
changed_since_checkin = silence_stderr { `svn status` }.split.map { |path| path.chomp[7 .. -1] }
8989
elsif File.directory?(".git")
90-
changed_since_checkin = silence_stderr { `git ls-files --modified --others` }.split.map { |path| path.chomp }
90+
changed_since_checkin = silence_stderr { `git ls-files --modified --others --exclude-standard` }.split.map { |path| path.chomp }
9191
else
9292
abort "Not a Subversion or Git checkout."
9393
end

0 commit comments

Comments
 (0)