Signed-off-by: Jo-Philipp Wich <jo@mein.io>
parts = line.strip().split()
if parts[0] == "src-git":
feeds.append(parts)
- c['change_source'].append(GitPoller(parts[2], workdir='%s/%s.git' %(os.getcwd(), parts[1]), branch='master', pollinterval=300))
+ url = parts[2].strip().split(';')
+ branch = url[1] if len(url) > 1 else 'master'
+ c['change_source'].append(GitPoller(url[0], branch=branch, workdir='%s/%s.git' %(os.getcwd(), parts[1]), branch='master', pollinterval=300))
####### SCHEDULERS