Permalink
Browse files

Stop autosaving on focus

Forgotten side-effect of run_command...
  • Loading branch information...
1 parent 19d5633 commit d0821037130bdd7ba233ed3f72b7db41e0b5844d @kemayo committed Sep 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 statusbar.py
View
@@ -17,11 +17,11 @@ class GitBranchStatusCommand(GitTextCommand):
def run(self, view):
s = sublime.load_settings("Git.sublime-settings")
if s.get("statusbar_branch"):
- self.run_command(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], self.branch_done, show_status=False)
+ self.run_command(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], self.branch_done, show_status=False, no_save=True)
else:
self.view.set_status("git-branch", "")
if (s.get("statusbar_status")):
- self.run_command(['git', 'status', '--porcelain'], self.status_done, show_status=False)
+ self.run_command(['git', 'status', '--porcelain'], self.status_done, show_status=False, no_save=True)
else:
self.view.set_status("git-status", "")

0 comments on commit d082103

Please sign in to comment.