diff options
author | Sergio Gil <sgilperez@gmail.com> | 2008-12-08 00:23:44 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-08 00:26:49 +0000 |
commit | e4eadf3910d04fcdcab3e084d249f3a881a3ca35 (patch) | |
tree | 3171b25a306cbdc5f038f7c984b6387114f9167c | |
parent | f7f113610e7cdca8ef03e206f2cbeb8400cdfefa (diff) | |
download | rails-e4eadf3910d04fcdcab3e084d249f3a881a3ca35.tar.gz rails-e4eadf3910d04fcdcab3e084d249f3a881a3ca35.tar.bz2 rails-e4eadf3910d04fcdcab3e084d249f3a881a3ca35.zip |
Fix message when running TemplateRunner#git. [#1526 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/template_runner.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/template_runner.rb b/railties/lib/rails_generator/generators/applications/app/template_runner.rb index 00079daffd..c6113648e6 100644 --- a/railties/lib/rails_generator/generators/applications/app/template_runner.rb +++ b/railties/lib/rails_generator/generators/applications/app/template_runner.rb @@ -109,13 +109,13 @@ module Rails # git :add => "onefile.rb", :rm => "badfile.cxx" # def git(command = {}) - puts "running git #{command}" - in_root do if command.is_a?(Symbol) + puts "running git #{command}" Git.run(command.to_s) else command.each do |command, options| + puts "running git #{command} #{options}" Git.run("#{command} #{options}") end end |