diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-08-31 05:53:53 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-08-31 05:53:53 +0000 |
commit | 7854b5073ac5a616adb980ae9e18c9d2e599d653 (patch) | |
tree | b0b4aeec5f4e7a34bafcd5d278792f665a82e68b /lib | |
parent | 7e323965d7a5824f685370781d1d5c5c598efa55 (diff) | |
download | redmine-7854b5073ac5a616adb980ae9e18c9d2e599d653.tar.gz redmine-7854b5073ac5a616adb980ae9e18c9d2e599d653.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/scm/adapters/git_adapter.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index 80e0acde1..22389bbbe 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -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})*)$/ |