Skip to content

Commit

Permalink
generic_done: Create a scratch window instead of piping to console to…
Browse files Browse the repository at this point in the history
… make sure active file view is updated
  • Loading branch information
ptte committed Nov 18, 2011
1 parent 61dd450 commit 33474d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def run_command(self, command, callback=None, show_status=True,
def generic_done(self, result):
if not result.strip():
return
self.panel(result)
self.scratch(result)

def _output_to_view(self, output_file, output, clear=False,
syntax="Packages/Diff/Diff.tmLanguage"):
Expand Down

1 comment on commit 33474d9

@andsens
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There must be some way to reload the current file instead of opening a new window?

Please sign in to comment.