Hacker News new | ask | show | jobs
by jklein11 3478 days ago
To me this feels like making a commit without unit testing first. When I find a conflict I like to be able to resolve it and then do some unit testing to make sure that my revision didn't miss anything.
2 comments

I think they explicitly say "simple merge conflicts" in the title. At the end of the day, you should use your own best judgement for when this is useful, and for when you need to go back to your workspace. It's most definitely not meant to be used for every merge conflict.

But not everyone is working on big projects with tests, and not every merge conflict is actually complex code modification.

Sometimes it's just two commits adding something at the end of the file and there's not real conflict, or maybe you modified the same line twice and forgot to pull before doing your 2nd edit.

I suspect the use-case they have in mind are folks who have CI hooked up to Github (so using this feature will automatically trigger tests).
Sure, but that's a much slower cycle than running your unit tests locally.