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

Re: What's cooking in git/spearce.git (topics)

From
Shawn O. Pearce <spearce@spearce.org>
Date
Oct 23, 2007, 05:07 UTC
Message-ID
<20071023050726.GD14735@spearce.org>
In-Reply-To
<20071023045632.GD27132@thunk.org>
Theodore Tso <tytso@mit.edu> wrote:
Show 21 quoted lines
> On Tue, Oct 23, 2007 at 12:46:57AM -0400, Shawn O. Pearce wrote:
> > By merging only individual topics forked from master into next you
> > can merge those individual topics into master at different points
> > in time.  For example db/fetch-pack has been in next for many weeks
> > and hasn't yet merged into master, yet jc/am-quiet was forked after
> > db/fetch-pack started and has already merged into master.
> > 
> > Your way would make jc/am-quiet wait until db/fetch-pack was ready.
> > That's a big risk in the sense that your tree is "blocked" and even
> > simple changes are held up by ones that suddenly became a lot more
> > complex then you originally thought they were going to be.
> 
> Yes, true.  Alternatively, what I've been doing is that if I wasn't
> sure that a particular topic was ready to go to 'master' very shortly
> after it went into 'next', I would never let it go into 'next', but
> rather keep it in 'pu' (which is OK, because pu is constantly getting
> rewound).  But I guess the downside of that is you might get fewer
> testers for the code, because fewer people are probably tracking and
> testing 'pu' as compared to 'next'.
> 
> Right?
Yes, that's a good point.

I think in Git part of the reason less people track pu is because its very volatile. Not because of the rewind policy, but becuase sometimes the code there doesn't work properly so using it for real "production" work is pretty risky. On the other hand most of the code that merges into next has been reasonbly well reviewed and tested, so following it for "production" work is not as risky.

Junio has in the past proposed rewinding next, especially after a significant release (e.g. 1.5.3). A bunch of folks (myself included if I recall correctly) didn't want to do this, as we create topic branches locally from things in next and sometimes make commits over them to improve the topic further. But I also make topic branches for things in pu, so I might as well just shut up and not complain. :-)

Of course another thought that just came to mind is it is very easy for me to review next with a

	git log -p --reverse origin/next..build-next

just before merging it into my build branch and compiling it locally. If next rewound frequently (as pu does) this would be more difficult.

-- 
Shawn.
Previous: Theodore TsoNext: Theodore Tso
Message 13 of 21 in “What's cooking in git/spearce.git (topics)”
  1. Shawn O. PearceOct 16, 2007
  2. Johannes SchindelinOct 16, 2007
  3. Theodore TsoOct 16, 2007
  4. Shawn O. PearceOct 17, 2007
  5. Junio C HamanoOct 23, 2007
  6. Theodore TsoOct 23, 2007
  7. Junio C HamanoOct 23, 2007
  8. Theodore TsoOct 23, 2007
  9. Shawn O. PearceOct 23, 2007
  10. Theodore TsoOct 23, 2007
  11. Shawn O. PearceOct 23, 2007
  12. Theodore TsoOct 23, 2007
  13. Shawn O. PearceOct 23, 2007
  14. Theodore TsoOct 23, 2007
  15. Shawn O. PearceOct 23, 2007
  16. Theodore TsoOct 23, 2007
  17. Daniel BarkalowOct 23, 2007
  18. Junio C HamanoOct 23, 2007
  19. Theodore TsoOct 24, 2007
  20. Shawn O. PearceOct 23, 2007
  21. Shawn O. PearceOct 16, 2007

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.