3 ms·
Automated reformats cause big problems in version control. Every line appears to come from the reformat commit. So it's hard to see when the codes function was
by xupybd 5y ago
Automated reformats cause big problems in version control.
Every line appears to come from the reformat commit. So it's hard to see when the codes function was changed.
- gpderetta 5y agoyou format as part of the commit, not as a separate commit.
- d110af5ccf 5y agoI believe what's being described is on the fly (ie uncommited) reformatting to suit individual reading preferences. Additional enforced autoformatting at the time of commit ensures that all version controlled code always conforms to the chosen style. Thus there are never any reformat commits unless the chosen style is modified.