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

Re: [Core GIT] Long-term cherrypicking

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Sep 22, 2005, 10:17 UTC
Message-ID
<tnxll1p2yqb.fsf@arm.com>
In-Reply-To
<20050922095845.GE21019@pasky.or.cz>
Petr Baudis <pasky@suse.cz> wrote:
Show 10 quoted lines
> Dear diary, on Thu, Sep 22, 2005 at 11:53:27AM CEST, I got a letter
> where Catalin Marinas <catalin.marinas@gmail.com> told me that...
>> But what I understand from Petr's e-mail is that re-basing the patches
>> is not acceptable for a repository which is public. One option would
>> be to keep a private tree where the patches are re-based and a public
>> one which periodically pulls from Linus' tree and your private
>> one. Not sure how complicated the commit graph would look.
>
> It would be pretty ugly since the same patches would re-appear in the
> commit graph in another incarnations many times.

True. And re-basing patches in the public branch would generate the same complicated graph in people's repositories which were pulling from it. If this is not desirable, StGIT on the public branch wouldn't help much (and neither quilt since quilt patches are not visible via GIT anyway).

As Junio said, using 'git cherry-pick' (or 'stg import --commit') on a private branch would help organising the patches to be sent upstream. One problem with this approach is that the conflicts generated by merging with Linus in the public branch (and already fixed there) would need to be re-solved in the private one after cherry-picking.

-- 
Catalin
Previous: Petr Baudis
Message 8 of 8 in “[Core GIT] Long-term cherrypicking”
  1. Petr BaudisSep 21, 2005
  2. Junio C HamanoSep 21, 2005
  3. Petr BaudisSep 21, 2005
  4. Junio C HamanoSep 21, 2005
  5. Greg KHSep 22, 2005
  6. Catalin MarinasSep 22, 2005
  7. Petr BaudisSep 22, 2005
  8. Catalin MarinasSep 22, 2005

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.