3 ms·
Have you tried making sense of a project 10 years old? 20? 40? I can "experientially" state that squash throws away very necessary information for anyone tryin
by teacup50 11y ago
Have you tried making sense of a project 10 years old? 20? 40?
I can "experientially" state that squash throws away very necessary information for anyone trying to make sense of old code.
- cwilkes 11y agothat's more of how squash was applied in the situation ... If they had huge commits then while squash might break it up a bit that's a problem with how the people did their work. Myself I like to do PR and merges with code that can be logically comprehended quickly and doesnt break the build. a lot of that is due to being emphatic to people that are doing the reviewing. I know they don't know the context as they aren't in the code so I'm showing them a snippet of it, say a new method in s single commit. Then another commit for another method. Finally a third one that actually does some new functionality by combining the two. I figure that's good enough for people to see that unit tests passed on the two methods and that the system started getting errors after the last commit so to look there for faulty logic.
- teacup50 11y agoIt's rare that the contemporary author knows what will be useful context in two decades.