git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Michal Suchánek" <msuchanek@suse.de>
To: Jeff King <peff@peff.net>
Cc: Taylor Blau <me@ttaylorr.com>,
	git@vger.kernel.org, James Ramsay <james@jramsay.com.au>,
	Bryan Turner <bturner@atlassian.com>
Subject: Re: Consensus on a new default branch name
Date: Wed, 17 Jun 2020 20:06:17 +0200	[thread overview]
Message-ID: <20200617180617.GN21462@kitsune.suse.cz> (raw)
In-Reply-To: <20200616143107.GL666057@coredump.intra.peff.net>

On Tue, Jun 16, 2020 at 10:31:07AM -0400, Jeff King wrote:
> On Mon, Jun 15, 2020 at 03:21:54PM -0600, Taylor Blau wrote:
> 
> > > Concurrently with this, GitHub, GitLab [3], and Bitbucket are working together
> > > in order to make a similar change across our respective products. Because of
> > > this, we are met with a bit of a challenge: we would like to make these changes
> > > before the next version(s) (and so need to settle on a new default branch name),
> > > but we also want to avoid a situation where the community is fractured (eg.,
> > > GitHub uses 'main', Git uses 'default', etc).
> > >
> > > A related question is whether or not we plan to change the default value of
> > > 'core.defaultBranchName' at all (once Johannes' patches land, of course). That
> > > seems to be the intent in [4], but forming consensus around this would be good,
> > > too.
> 
> My biggest concern here was trying to understand what could break.
> Having read the patches from Johannes and thought about it a lot, I have
> a pretty good handle on where Git itself cares about the name. And I
> feel pretty confident that we can make the change in a way that won't
> cause problems there (and in fact, I think some of the code will be
> made more robust by relying on HEAD more appropriately).
> 
> There's a more open question of what _else_ will break in the ecosystem.
> I.e., what other tools and scripts did people write "master" in that
> we'll never even see, and they will eventually need to update. And there
> I think we need to be respectful of our users and their time. Obviously
> stopping at configurability is the least risky thing there. But it's
> clear that a lot of projects are interested in changing their names, so
> tools will have to deal with a world where various repos will have
> different HEAD names.
> 
> By moving the default, we do push some repos into a name change that
> might otherwise have remained oblivious (e.g., if your org has a custom
> script that nobody else will see, and nobody in your org has an interest
> in changing their repo HEADs, you might never need to update your
> scripts). We can help with that by:
> 
>   - clearly communicating the timetable for the change, and giving lots
>     of opportunity for people to consider whether their scripts might
>     need updating (again, I think in many cases these updates actually
>     make the tools more robust)
> 
>   - giving an escape hatch to restore the old behavior, which Johannes'
>     patches certainly do
> 
> Both of which I think everybody is on board with. I won't claim that
> changing the default won't cause _any_ disruption, but it seems to me to
> be on par with other changes we've made (and is being handled similarly
> carefully). So I think I'm in favor.
> 
> > > My interpretation thus far is that 'main' is the planned replacement for
> > > 'master'. Consensus seems to have formed around this name [5], but if that's
> > > incorrect--or there are yet-unvoiced opinions that you would like to share--now
> > > is the time to discuss further.
> 
> My opinion is that "main" is the best suggestion I've heard.

See also
https://lore.kernel.org/git/20200616210701.22924-1-zeevriend@gmail.com/

  parent reply	other threads:[~2020-06-17 18:06 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15 20:57 Consensus on a new default branch name Taylor Blau
2020-06-15 21:10 ` Santiago Torres Arias
2020-06-15 21:21 ` Taylor Blau
2020-06-16 14:31   ` Jeff King
2020-06-16 14:52     ` Oleg
2020-06-16 16:00       ` Jeff King
2020-06-16 17:11         ` Oleg
2020-06-16 17:32           ` Konstantin Ryabitsev
2020-06-16 18:54             ` Oleg
2020-06-16 22:18           ` Jeff King
2020-06-16 16:10     ` Konstantin Ryabitsev
2020-06-16 16:13       ` Santiago Torres Arias
2020-06-16 16:48         ` Jeff King
2020-06-16 16:14       ` Jason Pyeron
2020-06-16 16:47       ` Jeff King
2020-06-16 17:44       ` Steve Litt
2020-06-16 19:00         ` Oleg
2020-06-17 18:06     ` Michal Suchánek [this message]
2020-07-01 17:31       ` Michal Suchánek
2020-07-01 21:57         ` Jeff King
2020-07-02 12:21           ` Whinis
2020-07-02 21:15             ` Philip Oakley
2020-07-02 21:59               ` Whinis
2020-07-02 22:47                 ` Philip Oakley
2020-07-02 23:08                   ` Whinis
2020-07-01 22:25         ` Jonathan Nieder
2020-06-15 22:38 ` Elijah Newren
2020-06-16 14:32   ` Jeff King
2020-06-17 20:13     ` Junio C Hamano
2020-06-15 23:24 ` brian m. carlson
2020-06-16  0:50 ` James Ramsay
  -- strict thread matches above, loose matches on Subject: below --
2020-06-16  1:58 Nomen Nescio
2020-06-16  2:22 ` Jonathan Nieder
2020-06-16  2:31   ` Taylor Blau
2020-06-16 14:38   ` Jeff King
2020-06-17  0:01 Anonymous Remailer (austria)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200617180617.GN21462@kitsune.suse.cz \
    --to=msuchanek@suse.de \
    --cc=bturner@atlassian.com \
    --cc=git@vger.kernel.org \
    --cc=james@jramsay.com.au \
    --cc=me@ttaylorr.com \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).