Re: Newbie grief
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 1, 2012, 21:12 UTC
- Message-ID
- <7v62cf8v2d.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <86mx5rmx32.fsf@red.stonehenge.com>
merlyn@stonehenge.com (Randal L. Schwartz) writes:
Show 13 quoted lines
> Rich> I want that if you and say, Sitaram commit conflicting changes to > Rich> a shared branch, it's easy for me to recognize that the conflict > Rich> exist and easy for me to resolve that conflict in my own > Rich> repository. I want the source code control system to keep track > Rich> of those things, show them to me/us, and to track and show my > Rich> resolution to you. This stuff should all be automatic. It > Rich> shouldn't require explicit testing, manual pulling, nor explicit > Rich> discussion between the three of us. It shouldn't prohibit that > Rich> either, but it shouldn't require it. > > You're asking a lot of an automated system. I think you're trying to > get a system to replace the communication you should be doing as a > developer.
While what Merlyn says is always right ;-), you could automate things by having your post-receive hook to notice that remotes/from-merlyn/master location was updated, attempt an automerge, and then report a failure.
Not everybody wants such an automated system, so there is no such complexity in the vanilla setting, but the important thing is that whoever needs such a complexity could easily do so.