class MGit::System::GitCommand

Public Class Methods

new(cmd, opts) click to toggle source
Calls superclass method MGit::System::SystemCommand::new
# File lib/mgit/system.rb, line 53
def initialize(cmd, opts)
  super("git #{cmd}", opts)
rescue SystemCommandError => e
  raise GitError, e.error
end