diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-07-23 13:20:10 +0530 |
---|---|---|
committer | Arun Agrawal <arun@fromjaipur.com> | 2011-07-23 13:21:36 +0530 |
commit | 7d9cf9a8463c21e115f3bd9509fa1c180a5512bf (patch) | |
tree | ca2daf3479bee6512b88f5da9a763795906e286e /railties/lib/rails/test_unit | |
parent | 94978b9a46173b875bcb0d5cb724e5119e4aa8f4 (diff) | |
download | rails-7d9cf9a8463c21e115f3bd9509fa1c180a5512bf.tar.gz rails-7d9cf9a8463c21e115f3bd9509fa1c180a5512bf.tar.bz2 rails-7d9cf9a8463c21e115f3bd9509fa1c180a5512bf.zip |
Spliting the ouput of git ls-files for running tasks Fixes #713
Diffstat (limited to 'railties/lib/rails/test_unit')
-rw-r--r-- | railties/lib/rails/test_unit/testing.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/test_unit/testing.rake b/railties/lib/rails/test_unit/testing.rake index b9877a83b5..eb8644d07f 100644 --- a/railties/lib/rails/test_unit/testing.rake +++ b/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 |