diff options
author | Lorenz Schori <lo@znerol.ch> | 2012-10-18 21:15:06 +0200 |
---|---|---|
committer | Lorenz Schori <lo@znerol.ch> | 2012-10-18 21:15:06 +0200 |
commit | a300e32dc8d965c8552a0cfdfb5f8734347b582e (patch) | |
tree | 0bb12d8bd5e7c7e42ca1dfb0142db97677f2d90d /git/diff.py | |
parent | 011d89d3187f4436383f7e7159c105b96a83bb80 (diff) | |
download | gitpython-a300e32dc8d965c8552a0cfdfb5f8734347b582e.tar.gz |
Add an output_strip kwarg to Git.execute
Strip the last line of the output if it is empty (default). Stripping should be
disabled whenever it is important that the output is not modified in any way.
For example when retrieving patch files using git-diff.
Diffstat (limited to 'git/diff.py')
0 files changed, 0 insertions, 0 deletions