3 ms·
First git project, had a guy who loved deflecting, hated git, and had a habit of fucking up merges. Let’s call him Steve. Some code got broken and Steve immedi
by hinkley 7y ago
First git project, had a guy who loved deflecting, hated git, and had a habit of fucking up merges. Let’s call him Steve.
Some code got broken and Steve immediately throws Jim under the bus. I look at the commit history, and sure enough git blame shows Jim broke it. Except... there was one little problem: I was the one who signed off on that code. I was specifically looking for this exact class of bug before I approved it, and was pleasantly surprised to see that the author had already anticipated this problem.
So what the hell happened?
Steve happened. Steve fucked up (another) three way merge and I didn’t catch it this time. I found the original commit hash and sure enough the code was correct. So then I showed Steve, again, what I call a Five Way Merge (3 way merge, then resolve again against both parents) and made it pretty clear this was no longer a strong suggestion and now a demand that he use this method to do merges.