libgit2/libgit2 — pull request #580 by nulltoken (2012-03-03 10:24:32+00:00)
Title: Clean commit and tag messages

'git commit' and 'git tag -a' enforce some conventions, like cleaning up excess whitespace and making sure that the last line ends with a '\n'. This fix replicates this behavior.

Fix libgit2/libgit2sharp#117

/cc @peff ready for review, sir!