about summary refs log tree commit diff stats
path: root/cmd.c
diff options
context:
space:
mode:
authorLukas Fleischer2013-08-20 18:56:13 +0200
committerJason A. Donenfeld2013-08-20 19:55:30 +0200
commit455b5987780f53ef55ebf6edd4543976763152da (patch)
tree57ef5eb173d2387a44a9ae9aa41b495cb8885695 /cmd.c
parentui-diff: Check the return value of get_sha1() (diff)
downloadcgit-455b5987780f53ef55ebf6edd4543976763152da.tar.gz
cgit-455b5987780f53ef55ebf6edd4543976763152da.zip
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>
Diffstat (limited to 'cmd.c')
0 files changed, 0 insertions, 0 deletions