TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How Git shines above Subversion at Merging

36 pointsby niyazpkover 14 years ago

4 comments

hasenjover 14 years ago
I think this post is missing the point entirely.<p>The strength of git has nothing to do with "magically resolving all possible corner cases". That was never the intended purpose of git.<p>To quote Linus himself:<p>&#62; The important part of a merge is not how it handles conflicts (which need to be verified by a human anyway if they are at all interesting), but that it should meld the history together right so that you have a new solid base for future merges.<p>&#62; In other words, the important part is the _trivial_ part: the naming of the parents, and keeping track of their relationship. Not the clashes.<p><a href="http://www.wincent.com/a/about/wincent/weblog/archives/2007/07/a_look_back_bra.php" rel="nofollow">http://www.wincent.com/a/about/wincent/weblog/archives/2007/...</a><p>In other words, there <i>are</i> corner cases where git might fail to resolve conflicts automatically.<p>If git does manage to resolve some obscure corner case on its own, it would be mostly accidental; it's not why git is better than svn.<p>git would still be an awesome tool even if it didn't handle all the obscure corner cases.
评论 #1663825 未加载
westiover 14 years ago
So the one "small" hole in the merging infrastructure in subversion is what makes git "shine" above subversion?<p>This issue is well documented and accepted as a deficiency - <a href="http://svnbook.red-bean.com/en/1.5/svn.branchmerge.advanced.html#svn.branchmerge.advanced.moves" rel="nofollow">http://svnbook.red-bean.com/en/1.5/svn.branchmerge.advanced....</a><p>Personally I have found subversions merging support to be good enough for the past few years and when you are introducing a modern VCS into a shop which has used VSS, CVS or PVCS for the past age it is a much easier transition for the users than git would be and provides much better merging support that VSS or PVCS users ever had!
评论 #1663594 未加载
评论 #1663479 未加载
评论 #1663943 未加载
tbrownawover 14 years ago
That's the thing about <i>distributed</i> version control systems -- merging is such a central operation that is <i>has to</i> work well.
littleideaover 14 years ago
Welcome to the not evenly distributed future.