mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
Fix message when running TemplateRunner#git. [#1526 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user