From: "Rafael J. Wysocki" <rjw@sisk•pl>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: Len Brown <lenb@kernel•org>,
linux-next@vger•kernel.org,
Jesse Barnes <jbarnes@virtuousgeek•org>
Subject: Re: linux-next: manual merge of acpi tree
Date: Fri, 13 Jun 2008 10:45:45 +0200 [thread overview]
Message-ID: <200806131045.45769.rjw@sisk.pl> (raw)
In-Reply-To: <20080613160201.ac0ffd5f.sfr@canb.auug.org.au>
On Friday, 13 of June 2008, Stephen Rothwell wrote:
> Hi Len,
>
> On Fri, 13 Jun 2008 01:09:31 -0400 (EDT) Len Brown <lenb@kernel•org> wrote:
> >
> > On Fri, 13 Jun 2008, Stephen Rothwell wrote:
> >
> > > Today's linux-next merge of the acpi tree got a context conflict in
> > > drivers/acpi/sleep/main.c between commit
> > > d8f3de0d2412bb91639cfefc5b3c79dbf3812212 ("Suspend-related patches for
> > > 2.6.27") from the pci tree and a couple of commits that are duplicate in
> > > the pci and acpi trees ("ACPI PM: acpi_pm_device_sleep_state() cleanup"
> > > and "ACPI PM: Remove obsolete Toshiba workaround").
> >
> > What do you use to merge?
>
> git, gitk and vi (and my eyes :-))
>
> > Jesse pulled my suspend branch, so you should get the exact same commit
> > id's for 3 patches in both his tree and mine.
>
> they are not the same commits:
> "ACPI PM: acpi_pm_device_sleep_state() cleanup"
> 06166780eb53685e72b589814d535d1f9948e761 in the pci tree
> 0cc5ddb904162f611568d4db66ccd8af61dffc16 int the acpi tree
> "ACPI PM: Remove obsolete Toshiba workaround"
> 0e6859d49ff194e01afc229c996e3aefca1a0539 in the pci tree
> f7259bd5d588d59816e1f4d5d4f3da9382916dac in the acpi tree
>
> In the acpi tree (I pull the test branch into linux-next) the former has
> a different parent to the one on the pci tree since Jesse pulled your
> "suspend" branch into his pci tree.
>
> So the git merge sees them as overlapping changes to the same file (as
> well as the other commit above) and generates a conflict.
Well, the commits will always be different, because they depend on the
previous commits and those are different in both trees. The files they modify,
however, should be exactly the same finally.
I don't know how to handle that cleanly. :-(
Thanks,
Rafael
next prev parent reply other threads:[~2008-06-13 8:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 4:53 linux-next: manual merge of acpi tree Stephen Rothwell
2008-06-13 5:09 ` Len Brown
2008-06-13 6:02 ` Stephen Rothwell
2008-06-13 8:45 ` Rafael J. Wysocki [this message]
2008-06-13 15:49 ` linux-next: managing a web of git trees Jesse Barnes
2008-06-13 16:01 ` Linus Torvalds
2008-06-13 16:28 ` Jesse Barnes
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=200806131045.45769.rjw@sisk.pl \
--to=rjw@sisk$(echo .)pl \
--cc=jbarnes@virtuousgeek$(echo .)org \
--cc=lenb@kernel$(echo .)org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox