github Wilfred/difftastic 0.47.0

latest releases: 0.60.0, 0.59.0, 0.58.0...
16 months ago

Difftastic is a structural diff tool that understands syntax. See the manual to get started, and the changelog for historical changes.

Language Detection

Fixed an issue where file extensions of the form *.foo.bar (e.g. *.cmake.in) were ignored.

Added an option --override which overrides language detection based on a glob, e.g. --override='*.js:javascript jsx'. See --help for full documentation and more examples.

Removed the --language option. This option was confusing (it took a file extension rather than a language name) and not very useful (it overrode language detection for all files together).

Parsing

Added support for Solidity.

Display

When difftastic is invoked with two file paths, it will now truncate the path shown to the shared common parts. This is particularly helpful when using difftastic with mercurial.

$ difft dir1/foo/bar.py dir2/foo/bar.py
foo/bar.py -- Python
...

Don't miss a new difftastic release

NewReleases is sending notifications on new releases.