3 ms·
I wonder what a diff looks like on code like this? Is it even a good idea to use a diff on something that dense rather than just re-sending the entire code?
by ur-whale 4y ago
I wonder what a diff looks like on code like this? Is it even a good idea to use a diff on something that dense rather than just re-sending the entire code?
- gitonthescene 4y agoI think a diff is just as valuable with this code. Of course understanding a diff also requires understanding the code but if you’re interested the repository is linked at the root of this thread so you could poke around.
- icsa 4y agoYes. The diffs tend to be quite small & obvious.
- LfLxfxxLxfxx 4y agoBy default git diff works on entire lines, but try this: git diff --word-diff=color --word-diff-regex=. It highlights only the parts that have actually been changed/added/deleted.