gitpython-developers/GitPython — pull request #76 by znerol (2012-10-12 11:56:09+00:00)
Title: Add an output_nostrip kwarg to Git.execute

The last line of the output normally is stripped if it is empty. If `output_nostrip` is `True`, this behavior is disabled. This can be important when constructing patches e.g. using the `diff` command.