Skip to content

Commit

Permalink
Merge pull request #1809 from timbrel/reapply-pavels-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
kaste authored Nov 19, 2023
2 parents a45861c + c36b172 commit d97f0fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/commands/checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ class gs_checkout_new_branch(GsWindowCommand):
Prompt the user for a new branch name, create it, and check it out.
"""
defaults = {
"branch_name": ask_for_name(),
"branch_name": ask_for_name(
initial_text=lambda start_point: start_point or "",
),
}

def run(self, branch_name, start_point=None, force=False, merge=False):
Expand Down

0 comments on commit d97f0fc

Please sign in to comment.