scm: git: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5034 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
daac76f1b6
commit
a1364ed2b8
|
@ -172,7 +172,6 @@ module Redmine
|
|||
files=[]
|
||||
changeset = {}
|
||||
parsing_descr = 0 #0: not parsing desc or files, 1: parsing desc, 2: parsing files
|
||||
revno = 1
|
||||
|
||||
io.each_line do |line|
|
||||
if line =~ /^commit ([0-9a-f]{40})$/
|
||||
|
@ -195,7 +194,6 @@ module Redmine
|
|||
end
|
||||
changeset = {}
|
||||
files = []
|
||||
revno = revno + 1
|
||||
end
|
||||
changeset[:commit] = $1
|
||||
elsif (parsing_descr == 0) && line =~ /^(\w+):\s*(.*)$/
|
||||
|
|
Loading…
Reference in New Issue