git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: demerphq <demerphq@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: "Michal Suchánek" <msuchanek@suse.de>,
	"Sérgio Augusto Vianna" <sergio.a.vianna@gmail.com>,
	konstantin@linuxfoundation.org,
	"Johannes Schindelin" <Johannes.Schindelin@gmx.de>,
	"Don Goodman-Wilson" <don@goodman-wilson.com>,
	Git <git@vger.kernel.org>,
	newren@gmail.com, philipoakley@iee.email,
	"brian m. carlson" <sandals@crustytoothpaste.net>,
	"Simon Pieters" <simon@bocoup.com>,
	"Derrick Stolee" <stolee@gmail.com>
Subject: Re: Rename offensive terminology (master)
Date: Thu, 18 Jun 2020 09:40:37 +0200	[thread overview]
Message-ID: <CANgJU+Ut+ANPHud1JQw1Wo+zb37_=EWx-vgap6FGC+T=-dzn4A@mail.gmail.com> (raw)
In-Reply-To: <xmqq5zbpv53g.fsf@gitster.c.googlers.com>

On Wed, 17 Jun 2020 at 21:56, Junio C Hamano <gitster@pobox.com> wrote:
>
> demerphq <demerphq@gmail.com> writes:
>
> > kind of confusion. Consider how this conversation goes for us:
> >
> > A: "No you need to fetch trunk from the remote, then you need to merge
> > it to your local trunk and then push it to the master trunk".
> > B: "Ok."
>
> Hmph, why isn't the last one "trunk trunk"?

What I described was someone pulling from a box they have code on
(which does not have access to the master repository) to the local
repo on their laptop so they can push it to the master repo.

We have a master repo at $work. We use a mixture of centralized and
decentralized dev models. To get your code into production it must hit
the master repository, and it must be in the trunk branch in the
master repository. I imagine this is a relatively common
configuration, and problem in a professional context. Eg, I might be
testing or debugging code on a node that is not allowed write access
to the master repo for security reasons, so I need to pull the code
from there to my local workstation and then push from there to the
master repository. And all too often our people don't use topic
branches for this stuff and just hack on their local copy of trunk. So
from my point of view what I said was absolutely correct.

> > Similarly when the perl project migrated to git we renamed "master" to
> > "blead" to reduce the possibility "master master" confusion.
>
> Or put it differently, "your local master?  remote master?  or the
> primary master?" would be a way to state the phrase A asked in the
> example without renaming the name for the primary branch to 'trunk'.

Well, "primary" is not a terrible replacement term for "master", but
it isn't ideal either, as it also suggests the existence of a usable
secondary, which isn't a correct mental model (for us). Personally I
would eschew "primary" when there isn't a "secondary".

> What I am trying to get at is, after changing the name that is given
> by default to the primary branch in a newly created repositories by
> "git init" to 'main' (which I am OK with, and it seems that the
> major projects and repository hosting services will be doing anyway
> with or without getting themselves in this discussion on this list),
> wouldn't we risk the same "master master" confusion caused by and to
> those newer users who learn 'main' is the word given to the primary
> thing?

Yeah I think it will still cause problems. If it was my call I would
not choose "main" either. Having said that I do think it is a bit
better than "master" however, as it leaves the term "master"
unambiguously about repositories, and it leaves the term "main"
unambiguously about branches.

Also I would argue it is more etymologically correct. I would argue
that the "master" branch in git terminology is NOT really the "master"
unless it is in the "master" repository. "master" in the content of
"master copy" implies "one" (it has to, what do you do if you have two
masters and they aren't the same!), but using it in a distributed
sense for a branch name doesn't imply one, it implies many, so it
really doesn't make a lot of sense.

> Wouldn't you teach your users to fetch 'main' from the remote, merge
> it to the local 'main' and then push it to the 'main' main?

Unfortunately we call our main repo "main.git", so for my workplace
"main" as a default branch name would be suboptimal. We chose "trunk"
because "main", "master", "primary" all have these double meanings. On
the other hand "trunk" is the standard word for the things that
branches grow out of, and in some trees, the branches even can merge
back into the trunk![1] Thus I find it weird it isn't perceived as the
"obvious" choice to solve this problem. That the bulk of the
population chose "main" suggests to me a lack of imagination more than
a reasoned and thought through decision.

Anyway, personally I would say "main" and "master" are both bad
choices for the default *branch* in a tool that is as workflow
agnostic as git is and seems to intend to be. It is relatively
unfriendly to scenarios where there is in fact a "main repo" or
"master repo" . Many people will in practice use git in a relatively
centralized way with at least one repo designated the "main" or
"master" repo for the project, and so you end up with two "master" or
two "main" things that are very different with very different
properties.

So yeah, I would say that "main" is slightly better than "master" but
is still suboptimal from a comprehension point of view, and it is
downright unhelpful for my $workplace (but I recognize that isn't a
problem you should be considering in this discussion.)

Thank you for your time and efforts in dealing with this subject.

cheers,
Yves
[1] https://www.reddit.com/r/mildlyinteresting/comments/25xkg2/a_tree_branch_grows_back_into_the_tree/

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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

Thread overview: 152+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04 17:20 Rename offensive terminology (master) Simon Pieters
2020-05-04 17:43 ` Robert P. J. Day
2020-05-04 23:10   ` N6Ghost
2020-05-04 17:45 ` Konstantin Ryabitsev
2020-05-04 18:31   ` Simon Pieters
2020-05-04 17:53 ` Robert P. J. Day
2020-05-04 18:18   ` Randall S. Becker
2020-05-05 23:16 ` brian m. carlson
2020-06-09 15:16   ` Simon Pieters
2020-06-09 16:02     ` Junio C Hamano
2020-06-09 16:28       ` demerphq
2020-06-09 18:10       ` Johannes Sixt
2020-06-09 19:02         ` Junio C Hamano
2020-06-09 20:52       ` Simon Pieters
2020-06-09 21:03         ` Junio C Hamano
2020-06-09 21:29           ` Simon Pieters
2020-06-10  9:51         ` Robert P. J. Day
2020-06-10 11:16           ` Kevin Swinton
2020-06-10 12:18           ` Don Goodman-Wilson
2020-06-10 16:30             ` Konstantin Ryabitsev
2020-06-14  0:03             ` Sérgio Augusto Vianna
2020-06-14  0:00         ` Sérgio Augusto Vianna
2020-06-14  0:45           ` Junio C Hamano
2020-06-14  0:50             ` Sérgio Augusto Vianna
2020-06-14  6:32               ` Don Goodman-Wilson
2020-06-14  6:34                 ` Don Goodman-Wilson
2020-06-14  8:47                   ` Sergey Lapin
2020-06-14  8:48                     ` Sergey Lapin
2020-06-14 12:07                   ` Sérgio Augusto Vianna
2020-06-16  7:31                 ` demerphq
2020-06-16  8:38                   ` Oleg
2020-06-16 19:33                     ` Elijah Newren
2020-06-17  1:17                       ` Sergey Lapin
2020-06-17  7:45                       ` Oleg
2020-06-16 10:04               ` Alex Smith
2020-06-16 11:29                 ` Konstantin Tokarev
2020-06-16 11:39                   ` Robert P. J. Day
2020-06-16 11:39                   ` Oleg
2020-06-17  7:27                   ` Sergey Organov
     [not found]                 ` <c0c2d9ad-1d67-8ebe-0063-524005ca97fe@whinis.com>
2020-06-16 11:38                   ` Whinis
2020-06-16 12:16                     ` Oleg
2020-06-16 13:30                     ` Konstantin Ryabitsev
2020-06-16 13:55                       ` John Turner
2020-06-16 14:14                         ` Michal Suchánek
2020-06-16 14:29                           ` Whinis
2020-06-16 16:19                           ` Alex Smith
2020-06-16 15:49                         ` Konstantin Ryabitsev
2020-06-16 16:09                           ` Whinis
2020-06-16 14:24                       ` Sérgio Augusto Vianna
2020-06-16 14:27                       ` Oleg
2020-06-16 16:03                         ` Konstantin Ryabitsev
2020-06-16 17:27                           ` Oleg
2020-06-16 17:42                             ` Konstantin Ryabitsev
2020-06-16 18:35                               ` Sergey Lapin
2020-06-16 19:03                               ` Oleg
2020-06-09 16:06     ` Konstantin Ryabitsev
2020-06-09 19:01       ` Don Goodman-Wilson
2020-06-14  0:05         ` Sérgio Augusto Vianna
2020-06-14 19:08           ` brian m. carlson
2020-06-14  8:49             ` Johannes Schindelin
2020-06-14 19:17             ` Sérgio Augusto Vianna
2020-06-15  2:16             ` Taylor Blau
2020-06-15  2:54               ` Sérgio Augusto Vianna
2020-06-09 22:36     ` brian m. carlson
2020-06-16  8:50     ` Michal Suchánek
2020-06-10 21:30   ` Johannes Schindelin
2020-06-10 22:35     ` Edward Thomson
2020-06-10 22:51     ` brian m. carlson
2020-06-11 11:52     ` Michal Suchánek
2020-06-11 11:59       ` Don Goodman-Wilson
2020-06-11 12:52         ` Derrick Stolee
2020-06-11 15:14           ` Junio C Hamano
2020-06-14  2:59             ` Johannes Schindelin
2020-06-15 10:07               ` Michal Suchánek
2020-06-12 13:21           ` Philip Oakley
2020-06-14  0:41             ` Elijah Newren
2020-06-14 10:54               ` Philip Oakley
2020-06-14 12:20                 ` Sérgio Augusto Vianna
2020-06-14 13:58                   ` Don Goodman-Wilson
2020-06-14 14:05                     ` Sérgio Augusto Vianna
2020-06-15  3:52                     ` Andrew Ardill
2020-06-15  4:45                       ` J. Paul Reed
2020-06-15  5:19                         ` Andrew Ardill
2020-06-17  8:27                     ` Michal Suchánek
2020-06-14 18:19                   ` Konstantin Ryabitsev
2020-06-14 18:23                     ` Sérgio Augusto Vianna
2020-06-14 19:04                       ` Konstantin Ryabitsev
2020-06-14 19:08                         ` Sérgio Augusto Vianna
2020-06-14 19:16                           ` Konstantin Ryabitsev
2020-06-14 20:41                       ` Philip Oakley
2020-06-16  7:36                       ` demerphq
2020-06-16  7:43                         ` Michal Suchánek
2020-06-16  8:01                           ` demerphq
2020-06-16  8:59                             ` Michal Suchánek
2020-06-17 19:56                             ` Junio C Hamano
2020-06-17 20:10                               ` Jonathan Nieder
2020-06-17 20:17                                 ` Jonathan Nieder
2020-06-18  7:57                                   ` demerphq
2020-06-18  8:38                                     ` Oleg
2020-06-18 10:17                                       ` demerphq
2020-06-18 15:23                                     ` Konstantin Ryabitsev
2020-06-18  7:40                               ` demerphq [this message]
2020-06-18 18:04                                 ` Junio C Hamano
2020-06-14 21:06                     ` Junio C Hamano
2020-06-14 21:15                       ` Eric Wong
2020-06-14 21:39                         ` Junio C Hamano
2020-06-15 18:07                   ` Jonathan Nieder
2020-06-15 18:18                     ` Sérgio Augusto Vianna
     [not found]                       ` <CAAwdEzDgJuoQJAZsrT0piuZPVP6nJTSB9RCbcuXO03-BYTnmOQ@mail.gmail.com>
2020-06-15 19:37                         ` Sérgio Augusto Vianna
2020-06-15 19:50                           ` Alexandru Pătrănescu
2020-06-15 20:44                             ` Elijah Newren
2020-06-15 20:42                           ` Randall S. Becker
2020-06-15  0:34     ` James Ramsay
2020-06-15 21:38     ` Elijah Newren
2020-06-15 21:46       ` Elijah Newren
2020-06-16 21:07     ` ZeeVriend
2020-06-17  7:49       ` Oleg
2020-06-17 20:48         ` ZeeVriend
2020-06-18  8:28           ` Oleg
2020-06-17 20:52         ` ZeeVriend
2020-06-13 23:56   ` Sérgio Augusto Vianna
2020-06-13 23:53 ` Sérgio Augusto Vianna
2020-06-14 14:59 ` Thomas Adam
2020-06-14  8:04   ` Johannes Schindelin
2020-06-14 15:13   ` Michael Felt (aixtools)
2020-06-14  8:27     ` Johannes Schindelin
2020-06-14 15:51     ` George Of The Jungle
2020-06-14 15:20 ` Sérgio Augusto Vianna
2020-06-15  0:02 ` Sérgio Augusto Vianna
2020-06-15 14:39 ` Sérgio Augusto Vianna
2020-06-15 14:39 ` Sérgio Augusto Vianna
2020-06-15 23:15 ` Sérgio Augusto Vianna
2020-06-16  1:00 ` Fang-Pen Lin
2020-06-16  1:38 ` Sérgio Augusto Vianna
2020-06-21 19:50 ` Social Justice Movements [was: Rename offensive terminology (master)] Luke Kenneth Casson Leighton
2020-06-23 23:21 ` Rename offensive terminology (master) Gunnar Liljas
2020-06-24  1:16   ` Whinis
2020-06-24  8:19   ` lego_12239
2020-06-26 10:08     ` Gunnar Liljas
2020-06-26 10:34       ` Oleg
  -- strict thread matches above, loose matches on Subject: below --
2020-06-14 15:09 Michael Felt (aixtools)
2020-06-15 21:05 frederik
2020-06-16  0:16 Abram Wiebe
2020-06-16  0:23 ` Jonathan Nieder
2020-06-16 12:54   ` Konstantin Ryabitsev
2020-06-16 15:53     ` Sérgio Augusto Vianna
2020-06-17 11:34 Alastair Houghton
2020-06-17 11:49 ` Oleg
     [not found] ` <CAGqqT2w=ntxd6RNkpy175TbgiudUSOc0tAPoDsbjv=4V+73cXw@mail.gmail.com>
     [not found]   ` <CAGqqT2zFkCUTdUnzdp4oTR2cnxBpKeY-EZtxacLLVDsF8Jiekw@mail.gmail.com>
2020-06-17 12:27     ` Zac McChesney
     [not found] <'CAOAHyQyn_ow7_nCJ+Jorr76_=1=_kuBAD1KhqReqVfRQQbmgiw@mail.gmail.com'>
2020-06-26 18:37 ` Neil Stoddard
2020-06-29  8:59   ` Michal Suchánek
2020-08-08  3:46 Jefferson Carpenter

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='CANgJU+Ut+ANPHud1JQw1Wo+zb37_=EWx-vgap6FGC+T=-dzn4A@mail.gmail.com' \
    --to=demerphq@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=don@goodman-wilson.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=konstantin@linuxfoundation.org \
    --cc=msuchanek@suse.de \
    --cc=newren@gmail.com \
    --cc=philipoakley@iee.email \
    --cc=sandals@crustytoothpaste.net \
    --cc=sergio.a.vianna@gmail.com \
    --cc=simon@bocoup.com \
    --cc=stolee@gmail.com \
    /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).