class Bundler::Source::Git::GitCommandError

def initialize(command, path, extra_info = nil)

def initialize(command, path, extra_info = nil)
  @command = command
  msg = String.new("Git error: command `#{command}`")
  msg << " in directory #{path}" if path
  msg << " has failed."
  msg << "\n#{extra_info}" if extra_info
  super msg
end