5 $stderr.printf("fatal: %s\n" % fmt, *args)
10 sha1.unpack('H*').first
13 class CommandError < RuntimeError
15 def initialize(command)
20 Array(@command).join(' ').inspect
27 raise CommandError.new(cmd) unless $?.success?
31 def skip_prefix(prefix)
32 return self[prefix.length..-1]