Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Spliting the ouput of git ls-files for running tasks Fixes #713

  • Loading branch information...
commit 7d9cf9a8463c21e115f3bd9509fa1c180a5512bf 1 parent 94978b9
@arunagw arunagw 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
@@ -110,7 +110,7 @@ namespace :test do
if File.directory?(".svn")
changed_since_checkin = silence_stderr { `svn status` }.map { |path| path.chomp[7 .. -1] }
elsif File.directory?(".git")
- changed_since_checkin = silence_stderr { `git ls-files --modified --others` }.map { |path| path.chomp }
+ changed_since_checkin = silence_stderr { `git ls-files --modified --others` }.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.