5 ms·
I guess this should be the revert he mentioned, for those interested: https://github.com/curl/curl/commit/c2df780a97d9913eb20a55d4caad95c29d688976 https://gith
by st_goliath 4y ago
I guess this should be the revert he mentioned, for those interested:
https://github.com/curl/curl/commit/c2df780a97d9913eb20a55d4caad95c29d688976 https://github.com/curl/curl/commit/c2df780a97d9913eb20a55d4...
- danwee 4y agoI'm a nobody, but surprises me that the revert (and so the original feature) didn't include any tests. I always imagined that a project like curl (no deadlines? no pressure? no bosses?) would lead to people to work on it at their own pace (so more tests maybe? Maybe not, I don't know)
- shawabawa3 4y agoIt was a performance optimisation, so I suppose it should be covered by existing tests as there should be no change in behaviour
- danwee 4y agoAh, good point!
- withinboredom 4y agoThis looks like an integration point, which are pointless to test.
- e12e 4y agoIt did in-fact have test coverage, from tfa: > Apart form the little bug that caused it to crash in several test cases. (...) > Exactly why this was not discovered in our tests and CI jobs before the release we have yet to figure out, but it is certainly more than just a little disturbing.
- hyperman1 4y agoI always find it a small miracle that you can yank an individual git commit out of a program, and end up with a working program. If I commit anything, follow-up commits quickly make the original quickly a hard requirement. Maybe it is a sign of bigger and more stable source code, that individual commits influence each other less.
- eptcyka 4y agoWorking on new, small bits of software often implies that a single commit will be more relevant to the rest of the codebase. The more code there is, the less any one particular line, on average, would matter.
- vocram 4y agoMaking smaller and atomic commits makes them more easily reversible.
- Cthulhu_ 4y agoAtomic meaning they can be reverted on their own; I'm sure plenty of people make the mistake of making small commits, but not atomic commits. If your git history looks like a work log, you're not writing atomic commits. And people should get comfortable with git commit --amend and interactive rebase.