Closed
Description
GitPython version: 1.0.2
File: git/cmd.py
Line: 319
OS: Ubuntu 14.04LTS
The Git.AutoInterrupt.wait()
method will fail reporting the correct error message from the underlying git command because, if the command exits with a non-zero status code, this method will attempt to read from the subprocess' stderr stream (which has already been closed at this point because of wait()
I suppose). Therefore, GitCommandError
is never raised because 'ValueError: I/O operation on closed file' is raised before.