Skip to content

Commit

Permalink
Merge pull request #757 from randy3k/push
Browse files Browse the repository at this point in the history
Fix: "push to existing branch" was not working
  • Loading branch information
randy3k committed Aug 23, 2017
2 parents 1443bcf + 882ad0a commit 9439d34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/commands/push.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ def on_branch_selection(self, branch):
if not branch:
return
current_local_branch = self.get_current_branch_name()
selected_branch = branch.split("/", 1)[1]
selected_remote, selected_branch = branch.split("/", 1)
sublime.set_timeout_async(
lambda: self.do_push(
self.selected_remote, current_local_branch, remote_branch=selected_branch))
selected_remote, current_local_branch, remote_branch=selected_branch))


class GsPushToBranchNameCommand(WindowCommand, PushBase):
Expand Down

0 comments on commit 9439d34

Please sign in to comment.