daxim has asked for the wisdom of the Perl Monks concerning the following question:
I have in my ~/.gitconfig:
[pager] log = diff-highlight | diff-so-fancy | less show = diff-highlight | diff-so-fancy | less diff = diff-highlight | diff-so-fancy | less
and it works fine, last changed in 2016-02. Any time I run git log/show/diff (also from git aliases), the diff output will be filtered through the pipeline above (screenshot).
I remembered ccdiff from a yapc and wanted to try it.
The naive approach of changing it to show = ccdiff | less doesn't work, this just shows the usage. Before I commit to a lot of trial and error, does anymonk have a working set-up for ccdiff as a filter?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I set up ccdiff as a diff-so-fancy work-alike?
by Tux (Canon) on Jul 02, 2019 at 11:42 UTC | |
by daxim (Curate) on Jul 02, 2019 at 13:45 UTC | |
by Tux (Canon) on Jul 02, 2019 at 13:47 UTC |