Diff options
authorLukas Fleischer <lfleischer@lfos.de>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
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>
-rw-r--r--cmd.c2
-rw-r--r--ui-commit.c2
-rw-r--r--ui-diff.c10
-rw-r--r--ui-diff.h2
4 files changed, 12 insertions, 4 deletions