ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] elinks.git переход на новый бранч
Date: Wed, 4 Apr 2007 15:03:39 +0400
Message-ID: <20070404110339.GK30995@solemn.turbinal> (raw)
In-Reply-To: <20070404105057.GI18575@newmaster.mivlgu.local>

[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]

On Wed, Apr 04, 2007 at 02:50:57PM +0400, Sergey Vlasov wrote:
> On Wed, Apr 04, 2007 at 02:35:11PM +0400, Alexey Tourbin wrote:
> > Наивный pull тут сделать очень проблемно.  Можно попробовать
> > перебазировать все свои изменения на бранч elinks-0.12.GIT,
> > не то с помощью git-rebase, не то с помощью cherry-pick.
> > Но возникает вопрос: нужно ли делать merge со старым бранчем master,
> > хотя бы и фиктивный?
> 
> С точки зрения сборки из git, которой угрожают вот уже неизвестно сколько
> времени, нужно.
> 
> > Фиктивный merge ведь тоже чреват последствиями:
> > git будет думать, что какие-то левые изменения там теперь есть, а на
> > самом деле там их нет.  Или git достаточно хитер для того, чтобы
> > распознать применение левой стратегии ours?
> 
> ours применяется как раз для того, чтобы объяснить git, что эти левые
> изменения из другого бранча уже включены в текущий бранч (пусть и в
> совершенно другом виде).

Тогда стратегия перехода на новый бранч получается такая:

1) cherry-pick или адаптация всех моих изменений в коде со старого
бранча на новый бранч.

2) после этого git-checkout старый_бранч elinks.spec и одновременно
фиктивный merge со старым бранчем.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2007-04-04 11:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-03 22:04 Alexey Tourbin
2007-04-03 21:49 ` Aleksey Avdeev
2007-04-04  9:20   ` Alexey Tourbin
2007-04-04  9:25     ` Aleksey Avdeev
2007-04-04 10:35       ` Alexey Tourbin
2007-04-04 10:50         ` Sergey Vlasov
2007-04-04 11:03           ` Alexey Tourbin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070404110339.GK30995@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git