Skip to content

Commit

Permalink
Other: local_branch_name is not used anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
randy3k committed Dec 9, 2017
1 parent f8cc494 commit 633dea9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/commands/pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ class GsPullCommand(WindowCommand, GitCommand):
Through a series of panels, allow the user to pull from a remote branch.
"""

def run(self, local_branch_name=None, rebase=False):
self.local_branch_name = local_branch_name
def run(self, rebase=False):
self.rebase = rebase
sublime.set_timeout_async(self.run_async)

def run_async(self):
show_branch_panel(
self.on_branch_selection,
ask_remote_first=True,
selected_branch=self.local_branch_name)
ask_remote_first=True)

def on_branch_selection(self, branch):
if not branch:
Expand Down

0 comments on commit 633dea9

Please sign in to comment.