diffr icon indicating copy to clipboard operation
diffr copied to clipboard

how to use with git commit --verbose?

Open lucas-mior opened this issue 3 years ago • 1 comments

When running git commit --verbose git opens vim with the diff so you can see whats being commited. But this diff is not filtered using diffr. I searched on the git documentation and could not find anything.

lucas-mior avatar Apr 07 '22 16:04 lucas-mior

you need to convince vim to interpret ansi color codes. Otherwise you could write another formatter for colors (an existing alternative one exists that emits html)

mookid avatar Apr 09 '22 20:04 mookid