git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: current git kernel has strange problems during bisect

From
KMKyle Moffett <kyle@moffetthome.net>
Date
Jan 15, 2009, 23:13 UTC
Message-ID
<f73f7ab80901151513l22b6b017gadb49312ac331391@mail.gmail.com>
In-Reply-To
<20090115165425.GA7517@bombe-desk.opditex>
On Thu, Jan 15, 2009 at 11:54 AM, Andreas Bombe <andreas.bombe@mytum.de> wrote:
Show 25 quoted lines
> On Tue, Jan 13, 2009 at 03:26:09PM -0500, Kyle Moffett wrote:
>> On Sun, Jan 11, 2009 at 4:39 PM, Christian Borntraeger
>> <borntraeger@de.ibm.com> wrote:
>> > In my opinion we should really avoid subtree merges in the future as a curtesy
>> > to people who do the uncool work of testing, problem tracking and bisecting.
>> > </rant>
>>
>> As an alternative, you can relatively easily rewrite the following
>> independent histories:
>>
>> A -- B -- C
>> X -- Y -- Z
>>
>> To look like this:
>>
>> A -- B -- C -- X' -- Y' -- Z'
>>
>> Where X' is (C + sub/dir/X), Y' is (C + sub/dir/Y), etc...
>
> Given that the subtree may have been in development for a long time, it
> is almost a certainty that the older commits may compile on A but not
> on C.  By basing it all on C you create a lot of uncompilable commits
> which hurt bisection just as bad.  At least with missing kernel sources
> it is obvious that an attempt at compilation is futile and a waste of
> time.

No, the older commits will compile just fine as they don't actually reference the new code from any of the parent makefiles. It would effectively be "dead code" until the "merge" in the commit *after* Z' in which you add lines to "sub/Kconfig" and "sub/Kbuild" which reference "sub/dir/*".

Cheers, Kyle Moffett

Previous: Andreas BombeNext: Sam Ravnborg
Message 17 of 23 in “current git kernel has strange problems during bisect”
  1. Christian BorntraegerJan 11, 2009
  2. Christian BorntraegerJan 11, 2009
  3. Johannes SchindelinJan 11, 2009
  4. Christian BorntraegerJan 11, 2009
  5. Boaz HarroshJan 11, 2009
  6. Linus TorvaldsJan 11, 2009
  7. Sam RavnborgJan 11, 2009
  8. Alexey ZaytsevJan 11, 2009
  9. Pierre HabouzitJan 11, 2009
  10. Christian CouderJan 12, 2009
  11. Christian CouderJan 12, 2009
  12. Linus TorvaldsJan 11, 2009
  13. Christian BorntraegerJan 11, 2009
  14. Daniel BarkalowJan 11, 2009
  15. Kyle MoffettJan 13, 2009
  16. Andreas BombeJan 15, 2009
  17. Kyle MoffettJan 15, 2009
  18. Sam RavnborgJan 11, 2009
  19. Alexey ZaytsevJan 11, 2009
  20. Sam RavnborgJan 11, 2009
  21. Daniel BarkalowJan 11, 2009
  22. Andi KleenJan 11, 2009
  23. Johannes SchindelinJan 11, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.