take: ask user if she wants to move to the issue's branch
This commit is contained in:
parent
8340ca2e75
commit
e7a55c9ff5
|
@ -204,7 +204,8 @@ def take(issue_number, reference):
|
|||
if '/%s-' % issue_number in head.name:
|
||||
branch_name = head.name
|
||||
branch = head
|
||||
break
|
||||
if click.confirm('Do you want to move to branch « %s » ?' % branch_name, default=True):
|
||||
break
|
||||
else:
|
||||
new = True
|
||||
default_branch_name = 'wip/%s-%s' % (issue_number, slugify(issue.subject)[:32])
|
||||
|
|
Loading…
Reference in New Issue