diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-26 19:51:00 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-26 20:39:57 +0100 |
commit | 78a46c432b31a0ea4c12c391c404cd128df4d709 (patch) | |
tree | 41fc4f06257bddff988a6518976321e33333f69b /lib/git/diff.py | |
parent | 5ba2aef8f59009756567a53daaf918afa851c304 (diff) | |
download | gitpython-78a46c432b31a0ea4c12c391c404cd128df4d709.tar.gz |
cmd.wait: AutoKill wrapped process will automatically raise on errors to unify error handling amongst clients using the process directly. It might be needed to add a flag allowing to easily override that
Diffstat (limited to 'lib/git/diff.py')
-rw-r--r-- | lib/git/diff.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/git/diff.py b/lib/git/diff.py index 03e6709c..b0e0898a 100644 --- a/lib/git/diff.py +++ b/lib/git/diff.py @@ -100,9 +100,6 @@ class Diffable(object): index = diff_method(self.repo, proc.stdout) status = proc.wait() - if status != 0: - raise GitCommandError(("git diff",)+tuple(args), status, proc.stderr.read()) - return index |