diff options
author | Akira Matsuda <ronnie@dio.jp> | 2012-06-12 03:29:48 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2012-06-12 03:29:48 +0900 |
commit | 2d3e488bb307a0149268006f274d2876ce883ad2 (patch) | |
tree | d0dbd75e490ff20f315d9f79563d633e5ce89810 /railties/lib/rails/test_unit | |
parent | 2eb4ebe308a027b1a0a64e9b0bf24d8e225590a4 (diff) | |
download | rails-2d3e488bb307a0149268006f274d2876ce883ad2.tar.gz rails-2d3e488bb307a0149268006f274d2876ce883ad2.tar.bz2 rails-2d3e488bb307a0149268006f274d2876ce883ad2.zip |
ignore .gitignore'd files in rake test:uncomitted
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 55bebb549b..0de4afe905 100644 --- a/railties/lib/rails/test_unit/testing.rake +++ b/railties/lib/rails/test_unit/testing.rake @@ -87,7 +87,7 @@ namespace :test do if File.directory?(".svn") changed_since_checkin = silence_stderr { `svn status` }.split.map { |path| path.chomp[7 .. -1] } 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 abort "Not a Subversion or Git checkout." end |