Permalink
Browse files

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

  • Loading branch information...
1 parent 94978b9 commit 7d9cf9a8463c21e115f3bd9509fa1c180a5512bf @arunagw arunagw committed Jul 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 7d9cf9a

Please sign in to comment.