mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +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 (.+)/
|
||||
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
|
||||
@@ -404,11 +407,12 @@ module Redmine
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user