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

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

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
Nov 27, 2007, 15:08 UTC
Message-ID
<20071127150829.GB3853@fieldses.org>
In-Reply-To
<alpine.LFD.0.99999.0711270917580.9605@xanadu.home>
On Tue, Nov 27, 2007 at 09:29:21AM -0500, Nicolas Pitre wrote:
Show 24 quoted lines
> On Tue, 27 Nov 2007, Johannes Schindelin wrote:
> 
> > Hi,
> > 
> > On Tue, 27 Nov 2007, しらいしななこ wrote:
> > 
> > > Was it coded poorly, buggy or were there some other issues?
> > 
> > It is very well possible that it was coded poorly ;-)
> > 
> > The main reason, I believe, was that some old-timers who know the 
> > implications said that it would encourage a wrong workflow.  One thing 
> > that could go possibly wrong, for example, is to rebase commits that you 
> > already published.
> 
> Being much more involved in the maintenance of a published Git tree 
> lately, I must disagree with the "wrong workflow" statement.  Until the 
> stuff I maintain is finally merged upstream, I have to constantly 
> amend/replace/fold/split random commits in my repo to follow the review 
> cycles involved.  yet I have to publish the result to let others base 
> their work on top of my latest tree.  A fetch+rebase is the only option 
> for those following my tree, and I made it clear that they have to 
> rebase after a fetch because I constantly rebase commits that I have 
> already published myself.

Right. But a rebase "merge strategy" doesn't work for those people, because it's not possible in general for their git to know exactly which part is their work (which needs to be rebased) and which is your old work (which should be discarded). Manual inspection is required.

> And in this case, constant rebasing is a perfectly fine work flow to me. 

Again, if you have people basing work on top of yours, I think the best option may really be to add a merge commit on top of each new version of the series with first parent the new series and second parent the previous history.

That way the history does have the information necessary to rebase their work automatically.

--b.
Previous: Nicolas PitreNext: Nicolas Pitre
Message 7 of 22 in “Re: What's cooking in git.git (topics)”
  1. しらいしななこNov 27, 2007
  2. Johannes SchindelinNov 27, 2007
  3. Andreas EricssonNov 27, 2007
  4. Johannes SchindelinNov 27, 2007
  5. Andreas EricssonNov 27, 2007
  6. Nicolas PitreNov 27, 2007
  7. J. Bruce FieldsNov 27, 2007
  8. Nicolas PitreNov 27, 2007
  9. J. Bruce FieldsNov 27, 2007
  10. Nicolas PitreNov 27, 2007
  11. J. Bruce FieldsNov 27, 2007
  12. Johannes SchindelinNov 27, 2007
  13. J. Bruce FieldsNov 27, 2007
  14. Andreas EricssonNov 28, 2007
  15. Nicolas PitreNov 27, 2007
  16. Junio C HamanoNov 29, 2007
  17. J. Bruce FieldsNov 29, 2007
  18. Junio C HamanoNov 29, 2007
  19. Johan HerlandNov 29, 2007
  20. Nicolas PitreNov 29, 2007
  21. Junio C HamanoNov 27, 2007
  22. Johannes SchindelinNov 27, 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.