good idea, but so dangerous though
Why?
Difftastic: A diff that understands syntax
91–100 of 224 posts
Re: Difftastic: A diff that understands syntax
#92Re: Difftastic: A diff that understands syntax
#93Re: Difftastic: A diff that understands syntax
#94Re: Difftastic: A diff that understands syntax
#95Re: Difftastic: A diff that understands syntax
#96Re: Difftastic: A diff that understands syntax
#97Re: Difftastic: A diff that understands syntax
#98I really like the idea of focusing on producing patches for human consumption. I studied the problem of merging AST-level patches during my PhD ( https://github.com/VictorCMiraldo/hdiff ) and can confirm: not simple! :)
Re: Difftastic: A diff that understands syntax
#99This is written by the same guy who wrote Helpful, an enhancement package for the Emacs Help buffer. I highly recommend checking out Helpful if you haven’t seen it. https://github.com/Wilfred/helpful
EDIT: Wilfred IS the original author [3]; my apologies. Not to discredit Wilfred (it looks like he's taken over the project as the maintainer), but, based on the historical contributions [1], it looks like it was originally developed by Max Brunsfeld, who also created Tree-sitter. [2] [1]: https://github.com/Wilfred/difftastic/graphs/contributors [2]: https://github.com/tree-sitter/tree-sitter [3]: https://github.com…
Re: Difftastic: A diff that understands syntax
#100Earlier quoted context omitted.
Using ubuntu 20.04, I first installed cargo: curl https://sh.rustup.rs -sSf | sh Restart shell to get $HOME/.cargo/bin in PATH, then did: cargo install difftastic And ~4 minutes later, difft executable is ready. Agree though that some pre-built binaries would be fantastic!
Ah, well, if you're willing to accept having a frankensystem with a mix of packaged and unpackaged software, sure. ;) I used to do that, back in Slackware days. It's considered really sloppy and unmaintainable to admin a system like that. Things quickly get out of hand. That strategy _does_ work if you isolate it to a chroot or a container, but littering /usr/local with all sorts of locally compiled upstream is just…