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

Re: Renaming the "master" branch without breaking existing clones

From
Matt McCutchen <matt@mattmccutchen.net>
Date
Aug 4, 2020, 00:43 UTC
Message-ID
<0f1c557657b46ec4124ca37816a3e0aa4bd83501.camel@mattmccutchen.net>
In-Reply-To
<20200803160051.GA50799@syl.lan>
On Mon, 2020-08-03 at 12:00 -0400, Taylor Blau wrote:
Show 6 quoted lines
> On Mon, Aug 03, 2020 at 08:15:58AM -0400, Matt McCutchen wrote:
> > 3. Ensuring that tools detect the default branch of a given repository
> > in an appropriate way rather than assuming "master". [...]
> 
> I'm less qualified to talk about what's going on here, but my
> understanding is that providers and tool-makers are quite aware of this.

I'm not so sure about that. Recently I've been the most active contributor to Braid (https://github.com/cristibalan/braid/), and I only learned about this today when I stumbled on news about a similar change to the Linux kernel and immediately wondered if git was doing the same thing. I filed an issue (t https://github.com/cristibalan/braid/issues/87) and will develop a fix when I have time.

Matt
Previous: Matt McCutchenNext: Junio C Hamano
Message 12 of 17 in “Renaming the "master" branch without breaking existing clones”
  1. Matt McCutchenAug 3, 2020
  2. Taylor BlauAug 3, 2020
  3. Junio C HamanoAug 3, 2020
  4. Taylor BlauAug 3, 2020
  5. Jeff KingAug 3, 2020
  6. Junio C HamanoAug 3, 2020
  7. Jeff KingAug 3, 2020
  8. Junio C HamanoAug 3, 2020
  9. Jeff KingAug 3, 2020
  10. Junio C HamanoAug 3, 2020
  11. Matt McCutchenAug 4, 2020
  12. Matt McCutchenAug 4, 2020
  13. Junio C HamanoAug 3, 2020
  14. Matt McCutchenAug 3, 2020
  15. Kaartic SivaraamAug 3, 2020
  16. Junio C HamanoAug 3, 2020
  17. Kaartic SivaraamAug 4, 2020

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.