This post complains about Git lacking eventual consistency. I have a little secret for you: Git can't be made to have eventual consistency. Everybody seems to think the problem is a technical one, of complexity vs. simplicity of implementation. They're wrong. The problem is semantics. Git follows the semantics which you want 99% of the time, at the
(
Read more... )
Reply
Reply
What you describe is a pathological scenario wherein the only fathomable explanation would be people making random guesses about what does or does not actually *work*. You are describing monkeys at keyboards.
There simply is not a good reason to go back and forth between historic versions repeatedly with no awareness of why one is doing it, and whether or not one's reason for doing it should override the judgements of others.
Reply
Reply
You either know what you expect to happen to the code when you do a merge, or you do not. If you know what you expect, git provides plenty of tools to help you ensure that you get what you expect. If you don't actually know what to expect and are blindly hoping for the best -- then you have no clear sense of your codebase, or the changes being made by others (either the mechanics or the intent).
Reply
I'm going to start deleting further comments from you unless you start understanding what's being discussed and drop the Git fanboyism. You really aren't contributing anything to the conversation.
Reply
https://github.com/MrJoy/MergingPlayedOut
I played out your example, with the slight change that the right-side, second A commit (which I refer to as A2) was created after X so I could determine if the ordering between the reintroduction of A and the creation of the B-B merge was relevant to how the merge resolves. It does not matter.
In both cases -- the A1-X merge, and the A2-X merge, the end result is A, not B.
Reply
Reply
Reply
Leave a comment