TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How often do you have merge conflicts?

5 点作者 seyz超过 12 年前
I'm thinking about a tool to detect merge conflicts as soon as possible (realtime ?).<p>Before that, I would like to know if you have often merge conflicts. If yes, these merge conflicts often become a "merge hell" ?<p>Would you potentialy be interested by this tool ?<p>EDIT: I'm talking about a merge conflict in the source code of a project. Often detected with SCMs like git, hg, svn, etc.

5 条评论

cjbprime超过 12 年前
I'm a Linux kernel maintainer. Conflicts happen, but git makes the resolution straightforward, and can even try different merge strategies (git merge -X "ours"/"octopus"/etc). I wouldn't ever describe it as having been "merge hell". Maybe if it were a different SCM.<p>Linux has the "linux-next" tree, which merges feature branches together every night; Stephen Rothwell fixes up context conflicts in that tree which saves a lot of time, and the e-mails he generates also function as a notification that the code you're working with has conficts.<p>Having a nightly merge of all feature branches seems like the right kind of granularity of notification to me.
swalberg超过 12 年前
We get them regularly, maybe a couple a week. But for the most part you know what you are getting into. It usually comes up in code review that there's going to be a problem.<p>What I don't get though is how a realtime notification would help me. If my editor started flashing that I was in conflict, what would I do differently?
评论 #4495799 未加载
powatom超过 12 年前
Small team working on fairly big systems - we rarely have any merge conflicts due to the way we divide work up.<p>They can be a pain in the arse when something has gone wrong though - but it's not really something we spend a lot of time worrying about. If it happens we just deal with it.
ZachWick超过 12 年前
Small team (~10) of developers: I rarely encounter merge conflicts due to our method of doling out tasks. We generally try to group tasks together based on similarities, and our codebase is very modular.
评论 #4495803 未加载
bkanber超过 12 年前
Small team manager here -- not often at all. Most people are working on different components simultaneously so conflicts rarely arise.
评论 #4495759 未加载