Actions
Defect #31120
closedGarbage lines in the output of 'git branch' break git adapter
Defect #31120:
Garbage lines in the output of 'git branch' break git adapter
Resolution:
Fixed
Affected version:
Description
I found that adding an if condition around line 84-89 solves the issue.
change:
branch_rev = line.match('\s*(\*?)\s*(.*?)\s*([0-9a-f]{40}).*$')
bran = GitBranch.new(branch_rev[2])
bran.revision = branch_rev[3]
bran.scmid = branch_rev[3]
bran.is_default = ( branch_rev[1] == '*' )
@branches << bran
To:
Files
Actions