Skip to content

Commit

Permalink
Fix message when running TemplateRunner#git. [rails#1526 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information
porras authored and lifo committed Dec 8, 2008
1 parent f7f1136 commit e4eadf3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ def gem(name, options = {})
# 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
Expand Down

0 comments on commit e4eadf3

Please sign in to comment.