1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

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

git-svn-id: http://svn.redmine.org/redmine/trunk@18419 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-08-31 05:53:53 +00:00
parent 7e323965d7
commit 7854b5073a
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,6 @@ Layout/LeadingCommentSpace:
- 'app/controllers/repositories_controller.rb'
- 'app/models/repository.rb'
- 'lib/diff.rb'
- 'lib/redmine/scm/adapters/git_adapter.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
- 'test/integration/api_test/issues_test.rb'
- 'test/integration/issues_test.rb'

View File

@ -229,7 +229,8 @@ module Redmine
io.close_write
files=[]
changeset = {}
parsing_descr = 0 #0: not parsing desc or files, 1: parsing desc, 2: parsing files
# 0: not parsing desc or files, 1: parsing desc, 2: parsing files
parsing_descr = 0
io.each_line do |line|
if line =~ /^commit ([0-9a-f]{40})(( [0-9a-f]{40})*)$/