cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in lib/redmine/scm/adapters/git_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19137 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-11-21 12:46:07 +00:00
parent 9db5d29287
commit 01545e4ade

View File

@@ -357,12 +357,15 @@ module Redmine
elsif line =~ /^author (.+)/ elsif line =~ /^author (.+)/
authors_by_commit[identifier] = $1.strip authors_by_commit[identifier] = $1.strip
elsif line =~ /^\t(.*)/ elsif line =~ /^\t(.*)/
blame.add_line($1, Revision.new( blame.add_line(
$1,
Revision.new(
:identifier => identifier, :identifier => identifier,
:revision => identifier, :revision => identifier,
:scmid => identifier, :scmid => identifier,
:author => authors_by_commit[identifier] :author => authors_by_commit[identifier]
)) )
)
identifier = '' identifier = ''
author = '' author = ''
end end
@@ -404,7 +407,8 @@ module Redmine
full_args << '-c' << 'log.decorate=no' full_args << '-c' << 'log.decorate=no'
end end
full_args += args full_args += args
ret = shellout( ret =
shellout(
self.class.sq_bin + ' ' + full_args.map { |e| shell_quote e.to_s }.join(' '), self.class.sq_bin + ' ' + full_args.map { |e| shell_quote e.to_s }.join(' '),
options, options,
&block &block