When diffstat is available, dulwich.patch.write_commit_patch() adds the
authorTay Ray Chuan <rctay89@gmail.com>
Sun, 2 May 2010 14:10:17 +0000 (16:10 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 2 May 2010 14:10:17 +0000 (16:10 +0200)
commit44ae263a9bde417363b3d26c887dc4d05ffcc894
tree991cb8d2a8852f88e12cf355847f3e78266a3bae
parentce0d767303d7e79bd6e8f5b9b1ca954614fb2cd2
When diffstat is available, dulwich.patch.write_commit_patch() adds the
diffstat followed by a "\n", just before the contents and version info.
The assertion in test_simple() assumes that this is always the case, and
breaks when the diffstat is absent.
dulwich/tests/test_patch.py