Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Don't pipe errors to stdout

This causes git errors to be piped to the git temp file.
For example, a new file will not be in the git repo and will error with:
fatal: Path 'new file' does not exist in 'HEAD'
This line then gets compared with the file and causes all lines to be treated as changed
  • Loading branch information...
commit c4ddb487e225f01b025e2b02ee751a176f45f477 1 parent 50027fe
@jisaacks authored
Showing with 2 additions and 2 deletions.
  1. +2 −2
@@ -27,7 +27,7 @@ def get_git_path(self):
return self.git_path
def update_buf_file(self):
- chars = self.view.size()
+ chars = self.view.size()
region = sublime.Region(0, chars)
contents = self.view.substr(region).encode('utf-8')
contents = contents.replace('\r\n', '\n')
@@ -112,5 +112,5 @@ def run_command(self, args):
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
proc = subprocess.Popen(args, stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT, startupinfo=startupinfo)
+ startupinfo=startupinfo)

0 comments on commit c4ddb48

Please sign in to comment.
Something went wrong with that request. Please try again.