Carlos
Carlos

Reputation: 318

Is there macOS git GUI that supports git --word-diff?

About half of my use of Git involves writing documents (mostly LaTeX). I use a GUI Git client to manage my document history. I've been frustrated by most clients because they don't support --word-diff, so every time I change a few words in a long paragraph the entire paragraph is marked as changed in the history view.

Is there a GUI Git client for macOS out there that supports --word-diff instead of the default 'line' diff?

Upvotes: 2

Views: 137

Answers (1)

VonC
VonC

Reputation: 1326842

An editor like VSCode would show you word diff, similar to what diff-highlight does in command line

You can find an illustration of that idea in "One-keystroke git commits with Visual Studio Code" from Panu Pitkamaki.

https://bytearcher.com/articles/one-keystroke-git-commits-with-visual-studio-code/diff.jpg

Upvotes: 1

Related Questions