Re:From a useless Git Diff to a useful one
by r0muald on Wednesday October 30, 2013 @03:07PM
(#6642514)
Whitespace changes in an open source project are the kind of thing that depends on the code style enforced at the project level - certainly not something you would submit as a newcomer. Do you happen to have an example of what you're explaining here?
Re:From a useless Git Diff to a useful one
by Osiris on Wednesday October 30, 2013 @05:48PM
(#6643650)
My editor is setup to automatically trim trailing spaces. When I edit files from other devs in the group, it's not uncommon for my commits to have whitespace removal in addition to code changes. I really don't think that's a big deal.
Now doing a code format to tweak indenting and brace positioning, etc., that should definitely be put into a separate commit.
Re:From a useless Git Diff to a useful one
by fletchowns on Wednesday October 30, 2013 @03:05PM
(#6642502)
The real issue is that in practice it is often difficult to separate these two changes.
??? No it's not
Oh and another cool feature is worddiffs for when you're editing text.