]> gitweb.ps.run Git - ps-cgit/commit
Allow for creating raw diffs with cgit_print_diff()
authorLukas Fleischer <cgit@cryptocrack.de>
Wed, 14 Aug 2013 08:50:32 +0000 (10:50 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 16 Aug 2013 19:15:37 +0000 (13:15 -0600)
commit9003cc172a4cbc6678f3d8003ae1ad3a55f62fed
tree7ca3eae3de1a9851eeb2af473b88bdc6dab0550b
parent747b035dda97ae359ed00d84744acfa8cc009fb2
Allow for creating raw diffs with cgit_print_diff()

This adds a parameter to cgit_print_diff() to create raw diffs, using
the same format as `git diff <commit>`.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
cmd.c
ui-commit.c
ui-diff.c
ui-diff.h