diffr
diffr copied to clipboard
Yet another diff highlighting tool
I always use a certain set of switches (`--colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33`) and would like to have that whereever I invoke diffr, currently I have to...
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...
If I write this Python code: ``` Python print() subprocess.call(['timew', 'untag', '@1'] + old_tags + [':yes']) subprocess.call(['timew', 'tag', '@1'] + new_tags + [':yes']) ``` ... and then extend it by...
diffr highlights the whole lies instead of the last character of each line: ``` --- /dev/fd/63 2020-04-17 11:50:36.529229290 +0200 +++ /dev/fd/62 2020-04-17 11:50:36.529229290 +0200 @@ -1,27 +1,27 @@ -ATCACGG -CGATGTG...
Can word-level diff be ignored for lines which are completely new or completely removed from a given diff? With the default configuration, added/removed lines are highlighted in there entirety.
Hi, The following tests fail for me when building: ``` ---- test_cli::color_ok stdout ---- thread 'test_cli::color_ok' panicked at 'spawn: Os { code: 2, kind: NotFound, message: "No such file or...
IntelliJ Idea Terminal: Konsole: I understand that the tool should by default only highlight the character changes and leave everything else untouched - however, white on bright green is barely...
I think it would be convenient if the `--colors` parameter wasn't the only way to customize the colors. Maybe if `--colors` is not provided, look in an environment variable? I...
This allows to configure the flags of diffr with a section like the following: [diffr] line-numbers = true colors = refine-added:none:background:cyan:bold colors = refine-removed:none:background:magenta:bold which corresponds to the invocation: diffr...
See https://scripter.co/git-diff-minified-js-and-css/ On the repository https://github.com/gohugoio/hugoDocs, `git log -p -- themes/gohugoioTheme/static/dist/app.bundle.js | diffr ` takes ~9min on my machine. One problematic commit: 0960c5fb36e9abcf3b492a523943268e89066543 Explore possible workarounds: - stop LCS when...