3 ms·
git diff by default outputs valid patch files that you can feed to patch out git apply. --word-diff does not Kernel development involves working with patches
by _ikke_ 3y ago
git diff by default outputs valid patch files that you can feed to patch out git apply.
--word-diff does not
Kernel development involves working with patches a lot, so it made sense to default to that, and --word-diff was added later anyway.
- yardstick 3y agoAh, makes sense, thanks for the explanation. I’ll have to create an alias for my use!