From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Rnnby-0007c5-DT for barebox@lists.infradead.org; Thu, 19 Jan 2012 08:44:47 +0000 Date: Thu, 19 Jan 2012 09:44:34 +0100 From: Sascha Hauer Message-ID: <20120119084434.GD5446@pengutronix.de> References: <20120119081914.GE4066@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120119081914.GE4066@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: git pull failed: CONFLICT To: Uwe =?iso-8859-15?Q?Kleine-K=F6nig?= Cc: barebox On Thu, Jan 19, 2012 at 09:19:14AM +0100, Uwe Kleine-K=F6nig wrote: > Hello Antony, > = > On Wed, Jan 18, 2012 at 11:02:06PM +0400, Antony Pavlov wrote: > > As usual as usual I tried to pull next branch from > > git://git.pengutronix.de/git/barebox, but got error message. > > = > > $ git checkout next$ git pullremote: Counting objects: 287, > > done.remote: Compressing objects: 100% (121/121), done.remote: Total > > 193 (delta 164), reused 85 (delta 67)Receiving objects: 100% > > (193/193), 22.10 KiB, done.Resolving deltas: 100% (164/164), completed > > with 69 local objects.From git://git.pengutronix.de/git/barebox=A0+ > > 5c6b5d4...5f77a0a next =A0 =A0 =A0 -> origin/next =A0(forced update)=A0+ > > f4a3223...841b071 work/omap3 -> origin/work/omap3 =A0(forced update)=A0+ > > 5c50a9a...0233427 work/thumb2 -> origin/work/thumb2 =A0(forced > > update)Auto-merging common/KconfigCONFLICT (content): Merge conflict > > in common/KconfigRemoving arch/arm/mach-omap/omap3_platform.SRemoving > > arch/arm/mach-omap/omap3_clock_core.SRemoving > > arch/arm/mach-omap/include/mach/board.hRemoving > > arch/arm/boards/phycard-a-l1/lowlevel.cAuto-merging MakefileCONFLICT > > (content): Merge conflict in MakefileAutomatic merge failed; fix > > conflicts and then commit the result. > As Sascha rewrote the next branch pulling makes your tree base on the > old and the new next branch. You want to do: > = > git remote update origin > git rebase --onto origin/next origin/next@{1} > = > assuming your tree based on the version of origin/next before you > git remote updated. I don't like non fastforward updates, but it happens *very* often that some new patch I apply to the next branch breaks something. Often enough a fix for this comes before I merge the next branch into master. It would be nice if this breakage would not even arrive in master. For this I have to squash the fix into the original patch. That is why I decided for a non fastforward push this time. I understand that this is not nice for people following this branch. I'm thinking about dropping the next branch and start providing next tags instead, just like the Kernel does. It would mean more workload for me, but I think we'll get a more bisectable master. Sascha -- = Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox