elsif line =~ /^author (.+)/
authors_by_commit[identifier] = $1.strip
elsif line =~ /^\t(.*)/
- blame.add_line($1, Revision.new(
- :identifier => identifier,
- :revision => identifier,
- :scmid => identifier,
- :author => authors_by_commit[identifier]
- ))
+ blame.add_line(
+ $1,
+ Revision.new(
+ :identifier => identifier,
+ :revision => identifier,
+ :scmid => identifier,
+ :author => authors_by_commit[identifier]
+ )
+ )
identifier = ''
author = ''
end
full_args << '-c' << 'log.decorate=no'
end
full_args += args
- ret = shellout(
- self.class.sq_bin + ' ' + full_args.map { |e| shell_quote e.to_s }.join(' '),
- options,
- &block
- )
+ ret =
+ shellout(
+ self.class.sq_bin + ' ' + full_args.map { |e| shell_quote e.to_s }.join(' '),
+ options,
+ &block
+ )
if $? && $?.exitstatus != 0
raise ScmCommandAborted, "git exited with non-zero status: #{$?.exitstatus}"
end