Closed cdoepmann closed 5 years ago
Looks great! Let me test for a few days to see if I hit some issues similar to https://github.com/so-fancy/diff-so-fancy/issues/35.
Thanks! I think the difference to the diff-so-fancy
issue is that I omitted the | less ...
. If I understand the git man pages correctly (not explicitly stated), the output from interactive.diffFilter
may be piped through another pager, contrary to the pager
config options. Therefore, I hope to avoid such issues by not piping diffr
's output through less
. Let's see.
Thanks!
The currently suggested git integration does not activate
diffr
when using interactive git commands such as the usefulgit add -p
etc.This change proposes to add
diffr
not only thepager.*
config options, but also tointeractive.diffFilter
, so diffs are nicely formatted also in these cases.