3 ms·
Is this something you can turn on be default for Git when working with others that don’t use Difftastic, or could that lead to some weird behaviors? (I don’t k
by janaagaard 4y ago
Is this something you can turn on be default for Git when working with others that don’t use Difftastic, or could that lead to some weird behaviors?
(I don’t know enough about the internals of Git to answer this myself.)
- Sander_Marechal 4y agoIIRC the configurable diff tool is just to show diffs to the user, not for internal storage. So everyone on your project can use a different diff tool without problems.
- mfrw 4y agoAn analogy would be like of the editor. Think of this tool as the editor that one uses. It does not matter to git what editor one uses; similarly, it does not matter what diff pager one uses :) Yes, you can turn it on without having any side-effects for others.
- tuetuopay 4y agoYou can turn it on safely. Git does not store diffs (like a diff chain), but a snapshot of the files at each commit
- Wilfred 4y agoYou can use difftastic as your default git diff tool, but you can also use it as an opt-in diffing tool. I recommend using it as an opt-in, but defining a git alias so you can do 'git difft'. https://difftastic.wilfred.me.uk/git.html https://difftastic.wilfred.me.uk/git.html has docs.