From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Richard Purdie <rpurdie@rpsys.net>
Cc: Len Brown <lenb@kernel.org>,
ibm-acpi-devel@lists.sourceforge.net, linux-acpi@vger.kernel.org
Subject: Re: [GIT PATCH] thinkpad-acpi queue for the 2.6.26 merge window
Date: Sat, 12 Apr 2008 10:54:10 -0300 [thread overview]
Message-ID: <20080412135410.GF3402@khazad-dum.debian.net> (raw)
In-Reply-To: <1207866898.4969.111.camel@dax.rpnet.com>
On Thu, 10 Apr 2008, Richard Purdie wrote:
> On Thu, 2008-04-10 at 13:23 -0400, Len Brown wrote:
> > If the patches that Henrique depends on are unlikely to change,
> > then I'll be happy to put them on a branch in my tree and put
> > henrique's driver on top of them. If they go upstream via your
> > tree and/or mine and are identical, then that works fine.
> >
> > However, if i check them into my tree and then you push a
> > different version upstream, then we'd have a merge conflict.
> >
> > Please let me know what you suggest.
>
> Those patches are queued and I have no plans to change them before
> submitting to Linus.
>
> When you say identical, do you mean the patches themselves or also the
> commit and object IDs?
The object IDs can't be the same, unless Len base his acpi-tree on
yours, or you base your tree on his, AFAIK. Since both you AND Len
usually rebase to latest linus before sending a pull request (which is
nicer to people doing bissections and far less patch-mismerge-prone),
this will be unoptimal to both of you.
So, suppose then that the object IDs are different (i.e. Len merged your
tree into acpi-test, and Linus merged it in mainline), BUT that the
resulting blobs are the same for the files that are affected by BOTH
trees being merged at the same time:
Git simply does the right thing, notices the file are the same, doesn't
complain, and if you look at the history, your patches will be in the
history twice: once in Len's branch that was merged, and once in
mainline where Linus merged it. Which is exactly what happened anyway,
and thus, correct. It will also do the right thing on bissects, etc.
However, if at the point Len's tree is merged in mainline, anything else
already touched the files and changed them beyond what your tree (as
merged by Len) had... conflicts might arrise.
IMHO, the easiest solution here is for Len to hold my thinkpad-acpi
patches a small bit, and land them in acpi-test only after Richard's are
upstream. This means the thinkpad-acpi patches get less testing in
acpi-test before they land in mainline either in late rc1 or before
rc2... but these patches are already being tested outside of acpi-test
anyway, and they can't do more than break thinkpad-acpi, which I can
swiftly fix and won't cause trouble anywhere else in the kernel.
So Len, since I did meet the required lead time window for acpi-test
submission :-) and if you don't have anything against a somewhat later
merge of thinkpad-acpi for 2.6.26's merge window or for 2.6.26-rc1, we
could probably just take the easy way, and merge thinkpad-acpi in
acpi-test after Richard's LED tree is in mainline already.
Meanwhile, I will resend the patch series with the typos Randy pointed
out fixed.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
next prev parent reply other threads:[~2008-04-12 13:54 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 3:52 [GIT PATCH] thinkpad-acpi queue for the 2.6.26 merge window Henrique de Moraes Holschuh
2008-04-10 3:52 ` [PATCH 03/13] ACPI: thinkpad-acpi: enhance box identification output Henrique de Moraes Holschuh
2008-04-10 3:53 ` [PATCH 08/13] ACPI: thinkpad-acpi: add sysfs led class support for thinklight (v3.1) Henrique de Moraes Holschuh
2008-04-12 0:24 ` Randy Dunlap
2008-04-12 14:51 ` Henrique de Moraes Holschuh
[not found] ` <1207799585-10112-1-git-send-email-hmh-N3TV7GIv+o9fyO9Q7EP/yw@public.gmane.org>
2008-04-10 3:52 ` [PATCH 01/13] ACPI: thinkpad-acpi: BIOS backlight mode helper (v2) Henrique de Moraes Holschuh
2008-04-12 0:26 ` Randy Dunlap
2008-04-10 3:52 ` [PATCH 02/13] ACPI: thinkpad-acpi: warn once about weird hotkey masks Henrique de Moraes Holschuh
2008-04-10 3:52 ` [PATCH 04/13] ACPI: thinkpad-acpi: rate-limit CMOS/EC unsynced error messages Henrique de Moraes Holschuh
2008-04-10 3:52 ` [PATCH 05/13] ACPI: thinkpad-acpi: fix brightness dimming control bug Henrique de Moraes Holschuh
2008-04-10 3:52 ` [PATCH 06/13] ACPI: thinkpad-acpi: claim tpacpi as an official short handle Henrique de Moraes Holschuh
2008-04-12 0:21 ` Randy Dunlap
2008-04-10 3:52 ` [PATCH 07/13] ACPI: thinkpad-acpi: prepare light and LED for sysfs support Henrique de Moraes Holschuh
2008-04-10 3:53 ` [PATCH 09/13] ACPI: thinkpad-acpi: add sysfs led class support to thinkpad leds (v3.1) Henrique de Moraes Holschuh
2008-04-12 0:21 ` Randy Dunlap
2008-04-12 13:10 ` Henrique de Moraes Holschuh
2008-04-10 3:53 ` [PATCH 10/13] ACPI: thinkpad-acpi: fluff really minor fix Henrique de Moraes Holschuh
2008-04-10 3:53 ` [PATCH 13/13] ACPI: thinkpad-acpi: bump up version to 0.20 Henrique de Moraes Holschuh
2008-04-10 6:37 ` [GIT PATCH] thinkpad-acpi queue for the 2.6.26 merge window Len Brown
[not found] ` <200804100237.16177.lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2008-04-10 12:34 ` Henrique de Moraes Holschuh
2008-04-10 17:23 ` Len Brown
2008-04-10 22:34 ` Richard Purdie
2008-04-12 13:54 ` Henrique de Moraes Holschuh [this message]
2008-04-22 20:02 ` [ibm-acpi-devel] " Henrique de Moraes Holschuh
[not found] ` <20080422200223.GA25311-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
2008-04-23 23:16 ` Richard Purdie
2008-04-10 3:53 ` [PATCH 11/13] ACPI: thinkpad-acpi: use a private workqueue Henrique de Moraes Holschuh
2008-04-10 3:53 ` [PATCH 12/13] ACPI: thinkpad-acpi: fix selects in Kconfig Henrique de Moraes Holschuh
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=20080412135410.GF3402@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=ibm-acpi-devel@lists.sourceforge.net \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=rpurdie@rpsys.net \
/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
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