On Wed, 2011-11-09 at 21:20 -0500, Simo Sorce wrote:
> On Wed, 2011-11-09 at 17:46 -0800, Adam Williamson wrote:
> > I'm currently going through and bumping several packages whose Rawhide
> > builds have got behind their F16 builds.
> > 
> > I've come across several packages where git merge hit 'conflicts' for no
> > readily apparently reason in this case.
> 
> I haven't looked deeply enough to tell, but in general merges are a very
> bad tool and should be avoid IMHO.
> 
> It would be much more sane to git cherry-pick the changes you need and
> keep the branches separate and have their own history.
> Merges makes it really painful to follow history later.

I agree. Once branches have started to diverge, merging them makes the
history harder to follow because the branches keep diverging, merging
back, diverging again, merging,...

However, it is sometimes possible to never diverge.

In the example of gnome-power-manager, the master and f16 branches seem
to contain the exact same changes, in the same order.

In such a case, it would have made sense to always keep merging the
branches rather than cherry-picking, so that they would never have
diverged.

And that would have avoided the conflict Adam is seeing.


-- 
Mathieu


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to