paulfitz/daff

Is it possible to set daff git diff output format?

aborruso opened this issue · 1 comments

Hi,
if I run git diff mycommit I have the git diff in the shell.

Is it a way to have in example an HTML output?

Thank you

First enable daff in your git repository as described in the documentation (daff git csv). Then open your ~/.gitconfig and modify the daff-csv entry by adding an output format, e.g.

[diff "daff-csv"]
    command = daff diff --git --output-format www

For command line use output format psv can make sense because it is easier to read than csv but www is also nice if you have enough screen space for an additional browser window.