]> gitweb.ps.run Git - ps-cgit/commit
ui-patch.c: Use log_tree_commit() to generate diffs
authorLukas Fleischer <cgit@cryptocrack.de>
Tue, 20 Aug 2013 16:56:13 +0000 (18:56 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 20 Aug 2013 17:55:30 +0000 (19:55 +0200)
commit455b5987780f53ef55ebf6edd4543976763152da
tree57ef5eb173d2387a44a9ae9aa41b495cb8885695
parent01db08372965b082239e7946255ac43f42d3e37d
ui-patch.c: Use log_tree_commit() to generate diffs

Instead of using our own formatting, use log_tree_commit() from Git to
create patches. This removes unnecessary duplicate code and also fixes a
bug with e-mail address formatting that existed in our own
implementation.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
ui-patch.c