mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-10 19:23:06 +00:00
Merged r18046 from trunk to 3.4-stable (#31120).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@18048 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5fc54010ca
commit
d8ee0bb008
@ -83,6 +83,7 @@ module Redmine
|
||||
io.each_line do |line|
|
||||
branch_rev = line.match('\s*(\*?)\s*(.*?)\s*([0-9a-f]{40}).*$')
|
||||
bran = GitBranch.new(branch_rev[2])
|
||||
next unless branch_rev
|
||||
bran.revision = branch_rev[3]
|
||||
bran.scmid = branch_rev[3]
|
||||
bran.is_default = ( branch_rev[1] == '*' )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user