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

Re: [PATCH] fmt-merge-msg: show those involved in a merged series

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 13, 2012, 01:55 UTC
Message-ID
<7vipi9mfhx.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120312071121.GA17269@burratino>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 5 quoted lines
> ....  As a person reading the history, I admit I don't like it.
> I enjoyed being able to get a simple overview at a higher level of
> what has been happening in "pu" with "git log --merges junio/pu" or
> "git log --first-parent junio/pu", and these extra lines before and
> adjacent to the "* name of topic:" header interfere with that.

I'd hold making that judgement for a several weeks until my eyes get used to if I were you. I've seen that people (including myself) react really badly to _any_ change and make loud noises (including "we will never get used to this updated output, it is horrible!"), and then eventually get used to it as if nothing happened, and that happened often enough recently.

In any case, if you only look at "git log --first-parent" output and search for your own topic, it of course is useless to see your name there, as you already know.

> By contrast, the
> ...
> descriptions in Linus's repo are very pleasant.

When you compare Linus's history and my history between master..pu, you are literally comparing apples and oranges.

The merges between master..pu are made several times a day, with a series of mechanical "merge --no-edit" process and automated tree tweaking (including but not limited to rerere). The purpose of these merges is primarily to reduce the risk of mismerges to master (and next to a lessor degree), especially when one topic among many that have been cooking between master..pu gets closer to graduation. By shuffling the order of topics that are merged between master..pu so that topics close to graduation come earlier in the fully rebuilt pu, a mid-point in master..pu is verified to exactly match the tree of next (otherwise you may have spotted a mismerge to next, and I did spot a few mismerges to next this way). This also allows earlier parts of the master..pu to be tested individually.

The purpose of these merges is _not_ about describing what the side branches are about. Unlike Linus's lieutenants' "for-linus" branch names, the branch names are often enough to describe that they are.

On the other hand, the merges on Linus's tree are etched in stone, and he has every incentive to record what happened in the side branch for the _last_ time with carefully chosen words.

Having said that, I tweaked the automated rebuilding procedure a bit today, and made it annotate these merges with snippets from the branch description in the "What's cooking" document, so the commits on master..pu are hopefully "very pleasant"ly annotated. This not only prettifies the merges between master..pu, but more importantly, would save effort to explain the merges when a topic finally hits master. If I have a good description in "What's cooking", I can then reuse it in these merges and also in the release notes.

The update to the rebuild procedure is not published yet. I'll be playing with it for a few days before publishing the changes.

Previous: Jonathan NiederNext: Jonathan Nieder
Message 18 of 36 in “A possible fmt-merge-msg update?”
  1. Junio C HamanoMar 5, 2012
  2. Linus TorvaldsMar 5, 2012
  3. Junio C HamanoMar 5, 2012
  4. Linus TorvaldsMar 5, 2012
  5. fmt-merge-msg: show those involved in a merged seriesJunio C Hamano, Mar 5, 2012
  6. Linus TorvaldsMar 5, 2012
  7. Junio C HamanoMar 5, 2012
  8. René ScharfeMar 7, 2012
  9. Junio C HamanoMar 7, 2012
  10. René ScharfeMar 8, 2012
  11. Junio C HamanoMar 8, 2012
  12. Junio C HamanoMar 8, 2012
  13. Phil HordMar 12, 2012
  14. Jeff KingMar 13, 2012
  15. Junio C HamanoMar 14, 2012
  16. Phil HordMar 14, 2012
  17. Jonathan NiederMar 12, 2012
  18. Junio C HamanoMar 13, 2012
  19. Jonathan NiederMar 13, 2012
  20. Junio C HamanoMar 13, 2012
  21. Johannes SixtMar 13, 2012
  22. Junio C HamanoMar 13, 2012
  23. Johannes SixtMar 14, 2012
  24. Junio C HamanoMar 14, 2012
  25. 1/1 fmt-merge-msg: show those involved in a merged seriesJunio C Hamano, Mar 13, 2012
  26. fmt-merge-msg: add a blank line after people infoJonathan Nieder, May 11, 2012
  27. Junio C HamanoMay 11, 2012
  28. Linus TorvaldsMay 11, 2012
  29. Junio C HamanoMay 14, 2012
  30. Junio C HamanoMay 15, 2012
  31. Linus TorvaldsMay 16, 2012
  32. Junio C HamanoMay 16, 2012
  33. Jonathan NiederJun 6, 2012
  34. Jonathan NiederJun 6, 2012
  35. Junio C HamanoJun 6, 2012
  36. Jeff KingMar 6, 2012

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.