mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Spliting the ouput of git ls-files for running tasks Fixes #713
This commit is contained in:
parent
94978b9a46
commit
7d9cf9a846
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue