From 78a46c432b31a0ea4c12c391c404cd128df4d709 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 26 Oct 2009 19:51:00 +0100 Subject: 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 --- lib/git/diff.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/git/diff.py') 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 -- cgit v1.2.1