News for hackers. Stuff that matters.
Re:Highlights from Git 2.35 by tome on Tuesday January 25, 2022 @06:09AM (#30070524)
> For anyone not using `merge.conflictStyle = diff3` I highly recommend trying it. It removes a lot of ambiguity when dealing with conflicting changes.

Yes, and to say that another way, it's literally impossible to resolve merge conflicts correctly with only the standard conflict style. See my post on StackOverflow for more details: https://stackoverflow.com/a/63739655/997606

Re:Highlights from Git 2.35 by vlovich123 on Tuesday January 25, 2022 @07:46AM (#30071165)
I use kdiff3 or bc4. I find those tools more powerful for fixing complicated merges and just as easy for simple ones (eg manual alignment for when the merge algorithm can’t recognize what is supposed to be aligned)
Re:Highlights from Git 2.35 by actually_a_dog on Tuesday January 25, 2022 @08:50AM (#30071728)
I’ve tripped over the exact scenario you mention in that post more than once. Usually, it’s not that I end up including an entire function that shouldn’t be there, though. I find it tends to be more like “Oh, here’s an extraneous bit of code that just showed up in the middle of this method. Hmmm....” Or, alternatively, I end up removing too much code, rather than too little.