mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ignore .gitignore'd files in rake test:uncomitted
This commit is contained in:
parent
2eb4ebe308
commit
2d3e488bb3
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ namespace :test do
|
||||||
if File.directory?(".svn")
|
if File.directory?(".svn")
|
||||||
changed_since_checkin = silence_stderr { `svn status` }.split.map { |path| path.chomp[7 .. -1] }
|
changed_since_checkin = silence_stderr { `svn status` }.split.map { |path| path.chomp[7 .. -1] }
|
||||||
elsif File.directory?(".git")
|
elsif File.directory?(".git")
|
||||||
changed_since_checkin = silence_stderr { `git ls-files --modified --others` }.split.map { |path| path.chomp }
|
changed_since_checkin = silence_stderr { `git ls-files --modified --others --exclude-standard` }.split.map { |path| path.chomp }
|
||||||
else
|
else
|
||||||
abort "Not a Subversion or Git checkout."
|
abort "Not a Subversion or Git checkout."
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue