mirror of
https://github.com/redmine/redmine.git
synced 2025-12-17 14:00:35 +01:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user