Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • While I agree that trying to avoid whitespace changes at the same time as functional changes is good practice, and to be encouraged, note that all is not lost if a change includes whitespace changes. Various diff implementations include an "--ignore-whitespace" or equivalent option that can be used in just this situation.
    • Or, if the changelist number that did the reformatting is known, just skip over that changelist number when doing diffs. That helps when the formatting changes cross line boundaries (like moving braces to the next line, etc.) and the line-oriented diff algorithms are still too chatty.