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

Re: "Contributors never merge" and preserving history

From
Asheesh Laroia <asheesh@asheesh.org>
Date
Feb 25, 2008, 21:35 UTC
Message-ID
<alpine.DEB.1.00.0802251330340.28694@dell.linuxdev.us.dell.com>
In-Reply-To
<alpine.LFD.1.00.0802251202380.14934@woody.linux-foundation.org>
On Mon, 25 Feb 2008, Linus Torvalds wrote:
Show 8 quoted lines
>   For example, let's say that you're developing a driver. If you start at
>   some specific kernel version (say, 2.6.24) and you do *not* generally
>   merge from my development tree, now suddenly other people can happily
>   pull from your tree to get the driver, even if they are stable kernels
>   or vendor kernels that don't want all the development crud that is in
>   my tree!
>
>   See? Keeping a clean history actually makes your tree more useful!

I'm going to chime in on this thread as a relative newcomer to git. If I'm developing a driver or other feature branch, and then a new upstream release comes along, I can't rebase and push - that would make the "is not a strict subset of local ref" complaint.

Is the right workflow, then, to rebase against 2.6.25 in a new local branch, and push that to a new remote branch for others (like you say, vendor kernel maintainers) to pull from?

Thanks!
-- Asheesh.
-- 
Who will take care of the world after you're gone?
Previous: Linus TorvaldsNext: Linus Torvalds
Message 3 of 6 in “"Contributors never merge" and preserving history”
  1. John GoerzenFeb 25, 2008
  2. Linus TorvaldsFeb 25, 2008
  3. Asheesh LaroiaFeb 25, 2008
  4. Linus TorvaldsFeb 25, 2008
  5. John GoerzenFeb 26, 2008
  6. Linus TorvaldsFeb 26, 2008

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.