mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* git pull failed: CONFLICT
@ 2012-01-18 19:02 Antony Pavlov
  2012-01-19  8:19 ` Uwe Kleine-König
  0 siblings, 1 reply; 3+ messages in thread
From: Antony Pavlov @ 2012-01-18 19:02 UTC (permalink / raw)
  To: barebox

Hi!

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 +
5c6b5d4...5f77a0a next       -> origin/next  (forced update) +
f4a3223...841b071 work/omap3 -> origin/work/omap3  (forced update) +
5c50a9a...0233427 work/thumb2 -> origin/work/thumb2  (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.
$ git diffdiff --cc Makefileindex a61138e,5cf49da..0000000---
a/Makefile+++ b/Makefile@@@ -659,13 -669,7 +669,17 @@@
OBJCOPYFLAGS_barebox.bin = -O binar    barebox.bin: barebox FORCE
  $(call if_changed,objcopy)++<<<<<<< HEAD +      @size=`stat -c%s
$@`; \ +      max_size=`printf "%d" $(CONFIG_BAREBOX_MAX_IMAGE_SIZE)`;
\ +      if [ $$size -gt $$max_size ] ; \ +      then \ +
echo "$@ size $$size > of the maximum size $$max_size";  +
 exit 1 ; \ +      fi++=======+       $(call
cmd,check_file_size,$(CONFIG_BAREBOX_MAX_IMAGE_SIZE))++>>>>>>>
5f77a0a812ee44389cd2921e28ee534df9994601    ifdef CONFIG_X86
barebox.S: bareboxdiff --cc common/Kconfigindex
1b47664,8089061..0000000--- a/common/Kconfig+++ b/common/Kconfig@@@
-110,7 -110,6 +110,10 @@@ config BAREBOX_MAX_IMAGE_SIZ        default
0xffffffff        help          Define the maximum size of
barebox++<<<<<<< HEAD +        If 0x0 the size will not been
check++=======++>>>>>>> 5f77a0a812ee44389cd2921e28ee534df9994601
config HAVE_CONFIGURABLE_MEMORY_LAYOUT        bool
-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git pull failed: CONFLICT
  2012-01-18 19:02 git pull failed: CONFLICT Antony Pavlov
@ 2012-01-19  8:19 ` Uwe Kleine-König
  2012-01-19  8:44   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2012-01-19  8:19 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

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 +
> 5c6b5d4...5f77a0a next       -> origin/next  (forced update) +
> f4a3223...841b071 work/omap3 -> origin/work/omap3  (forced update) +
> 5c50a9a...0233427 work/thumb2 -> origin/work/thumb2  (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.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git pull failed: CONFLICT
  2012-01-19  8:19 ` Uwe Kleine-König
@ 2012-01-19  8:44   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-01-19  8:44 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: barebox

On Thu, Jan 19, 2012 at 09:19:14AM +0100, Uwe Kleine-König 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 +
> > 5c6b5d4...5f77a0a next       -> origin/next  (forced update) +
> > f4a3223...841b071 work/omap3 -> origin/work/omap3  (forced update) +
> > 5c50a9a...0233427 work/thumb2 -> origin/work/thumb2  (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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-19  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-18 19:02 git pull failed: CONFLICT Antony Pavlov
2012-01-19  8:19 ` Uwe Kleine-König
2012-01-19  8:44   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox