Skip to content

Commit fcd08a5

Browse files
(PTFE-2894) Add quote between git command (#258)
1 parent 5a1c676 commit fcd08a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bert_e/workflow/gitwaterflow/branches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ def __init__(self):
862862
def build(self, repo, dst_branch=None):
863863
flat_branches = set()
864864
for prefix in ['development', 'hotfix']:
865-
cmd = 'git branch -a --list *%s/*' % prefix
865+
cmd = "git branch -a --list '*%s/*'" % prefix
866866
for branch in repo.cmd(cmd).split('\n')[:-1]:
867867
match_ = re.match(r'\*?\s*(remotes/origin/)?(?P<name>.*)',
868868
branch)

0 commit comments

Comments
 (0)