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

Re: [PATCH] "master" should be treated no differently from any other branch

From
Han-Wen Nienhuys <hanwen@xs4all.nl>
Date
Dec 14, 2006, 15:59 UTC
Message-ID
<458174C9.2050401@xs4all.nl>
In-Reply-To
<4581721B.4050102@xs4all.nl>
Han-Wen Nienhuys escreveu:
Show 16 quoted lines
> Johannes Schindelin escreveu:
>> Hi,
>>
>> On Thu, 14 Dec 2006, Andy Parkins wrote:
>>
>>> "master" shouldn't get special treatment; making different log messages 
>>> based on the name of the branch is bad form.  What if a user likes 
>>> "my/master" or "my/head" as their master branch?
>> I do not agree. There is usually a principal branch, where you collect the 
>> topics, and you do want to treat that special. As for the name: better 
>> have a convention here than configurability. You would not want "git" to 
>> be called "guitar" for some users, just because they happen to like that 
>> name more, either, right?
> 
> Disagree: I have two principal branches, master and stable/2.10.  I don't see
> why the latter should get different commit messages.

Note that this also confused my codeveloper (who is rather enamoured bzr), who was wondering what the other branch was in case of

  Merge branch 'master' of ssh+git://git.sv.gnu.org/srv/git/lilypond
Wouldn't it be better to mention the id of the local repository too? 
  Merge branch 'master' of ssh+git://git.sv.gnu.org/srv/git/lilypond into 
  'master' of 'hanwen@xs4all.nl'

this would give more information when these commit messages get pushed to someone else.

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 21 in “"master" should be treated no differently from any other branch”
  1. "master" should be treated no differently from any other branchAndy Parkins, Dec 14, 2006
  2. Johannes SchindelinDec 14, 2006
  3. Han-Wen NienhuysDec 14, 2006
  4. Johannes SchindelinDec 14, 2006
  5. Han-Wen NienhuysDec 14, 2006
  6. Johannes SchindelinDec 14, 2006
  7. Jakub NarebskiDec 15, 2006
  8. Nicolas PitreDec 14, 2006
  9. Jerome LovyDec 14, 2006
  10. Junio C HamanoDec 15, 2006
  11. Andy ParkinsDec 14, 2006
  12. Andy ParkinsDec 14, 2006
  13. Johannes SchindelinDec 14, 2006
  14. John W. LinvilleDec 14, 2006
  15. Robin RosenbergDec 14, 2006
  16. Junio C HamanoDec 14, 2006
  17. Andy ParkinsDec 14, 2006
  18. Junio C HamanoDec 14, 2006
  19. Andy ParkinsDec 14, 2006
  20. Shawn PearceDec 14, 2006
  21. Jakub NarebskiDec 15, 2006

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.