From: "Derrick Stolee via GitGitGadget" <firstname.lastname@example.org> To: email@example.com Cc: firstname.lastname@example.org, email@example.com, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org, "Ævar Arnfjörð Bjarmason" <email@example.com>, "Andrei Rybak" <firstname.lastname@example.org>, "Felipe Contreras" <email@example.com>, "Robert Karszniewicz" <firstname.lastname@example.org>, "Jeff King" <email@example.com>, "Kerry, Richard" <firstname.lastname@example.org>, "Derrick Stolee" <email@example.com> Subject: [PATCH v2 0/4] Use singular "they" when appropriate Date: Wed, 09 Jun 2021 13:54:34 +0000 [thread overview] Message-ID: <firstname.lastname@example.org> (raw) In-Reply-To: <email@example.com> In another topic, I claimed  that singular "they" was better than "he/she" for gender neutrality.  https://firstname.lastname@example.org/ The fact that singular "they" is less awkward to write and read seemed obvious to me, so I did not back up my statement with any references or reasons. The ensuing discussion did include reasons, especially brian m. carlson's thoughtful message .  https://lore.kernel.org/git/YKrk4dEjEm6email@example.com/ This patch series officially adopts singular "they" as a contributor guideline; see Patch 4 for the change to the guidelines and the reasoning for the change. Before modifying the guidelines, documentation and comments are updated to not use gendered pronouns, which provides examples of how to use it. I would appreciate ACKs in support on patch 4. Updates in v2 ============= * Some edits were removed because they were in contrib/ or Documentation/howto/ and these are now listed as exclusions in the message of Patch 4. * Several recommendations to improve the edits in the documentation and code comments were incorporated. Those who recommended these edits are credited with "Helped-by" tags. * The URLs in Patch 4 had overlapping citation numbers. This is fixed. Thanks, -Stolee Derrick Stolee (4): Documentation: use singular they when appropriate *: use singular they in comments *: fix typos CodingGuidelines: recommend singular they Documentation/CodingGuidelines | 7 +++++++ Documentation/SubmittingPatches | 8 ++++---- Documentation/git-push.txt | 4 ++-- Documentation/user-manual.txt | 2 +- commit.c | 2 +- config.c | 2 +- config.h | 2 +- date.c | 2 +- pathspec.h | 2 +- strbuf.h | 2 +- t/t9300-fast-import.sh | 2 +- wt-status.c | 2 +- 12 files changed, 22 insertions(+), 15 deletions(-) base-commit: c09b6306c6ca275ed9d0348a8c8014b2ff723cfb Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-975%2Fderrickstolee%2Fthey-v2 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-975/derrickstolee/they-v2 Pull-Request: https://github.com/gitgitgadget/git/pull/975 Range-diff vs v1: 1: afc51c5e6ede ! 1: fb7a7573782a Documentation: use singular they when appropriate @@ Commit message Replace these uses with "they/them" to ensure that these documentation examples apply to all potential users without exception. + Helped-by: Richard Kerry <firstname.lastname@example.org> + Helped-by: Junio C Hamano <email@example.com> Signed-off-by: Derrick Stolee <firstname.lastname@example.org> ## Documentation/SubmittingPatches ## @@ Documentation/SubmittingPatches: If you like, you can put extra tags at the end: + the patch attempts to fix. . `Acked-by:` says that the person who is more familiar with the area the patch attempts to modify liked the patch. - . `Reviewed-by:`, unlike the other tags, can only be offered by the +-. `Reviewed-by:`, unlike the other tags, can only be offered by the - reviewer and means that she is completely satisfied that the patch -+ reviewer and means that they are completely satisfied that the patch - is ready for application. It is usually offered only after a - detailed review. +- is ready for application. It is usually offered only after a +- detailed review. ++. `Reviewed-by:`, unlike the other tags, can only be offered by a ++ reviewer when they are completely satisfied with the patch. It is ++ offered only after reviews by reviewers who are known to be experts ++ in the affected area by the community members. . `Tested-by:` is used to indicate that the person applied the patch + and found it to have the desired effect. + ## Documentation/git-push.txt ## @@ Documentation/git-push.txt: Imagine that you have to rebase what you have already published. @@ Documentation/git-push.txt: Imagine that you have to rebase what you have alread This option allows you to say that you expect the history you are updating is what you rebased and want to replace. If the remote ref - ## Documentation/howto/using-signed-tag-in-pull-request.txt ## -@@ - From: Junio C Hamano <email@example.com> - Date: Tue, 17 Jan 2011 13:00:00 -0800 - Subject: Using signed tag in pull requests --Abstract: Beginning v1.7.9, a contributor can push a signed tag to her -- publishing repository and ask her integrator to pull it. This assures the -+Abstract: Beginning v1.7.9, a contributor can push a signed tag to their -+ publishing repository and ask their integrator to pull it. This assures the - integrator that the pulled history is authentic and allows others to - later validate it. - Content-type: text/asciidoc -@@ Documentation/howto/using-signed-tag-in-pull-request.txt: How to use a signed tag in pull requests - ======================================== - - A typical distributed workflow using Git is for a contributor to fork a --project, build on it, publish the result to her public repository, and ask --the "upstream" person (often the owner of the project where she forked --from) to pull from her public repository. Requesting such a "pull" is made -+project, build on it, publish the result to their public repository, and ask -+the "upstream" person (often the owner of the project where they forked -+from) to pull from their public repository. Requesting such a "pull" is made - easy by the `git request-pull` command. - - Earlier, a typical pull request may have started like this: -@@ Documentation/howto/using-signed-tag-in-pull-request.txt: followed by a shortlog of the changes and a diffstat. - - The request was for a branch name (e.g. `for-xyzzy`) in the public - repository of the contributor, and even though it stated where the --contributor forked her work from, the message did not say anything about -+contributor forked their work from, the message did not say anything about - the commit to expect at the tip of the for-xyzzy branch. If the site that - hosts the public repository of the contributor cannot be fully trusted, it - was unnecessarily hard to make sure what was pulled by the integrator was -@@ Documentation/howto/using-signed-tag-in-pull-request.txt: integrator, using Git v1.7.9 or later. - A contributor or a lieutenant - ----------------------------- - --After preparing her work to be pulled, the contributor uses `git tag -s` -+After preparing their work to be pulled, the contributor uses `git tag -s` - to create a signed tag: - - ------------ -@@ Documentation/howto/using-signed-tag-in-pull-request.txt: to justify why it is worthwhile for the integrator to pull it, as this - message will eventually become part of the final history after the - integrator responds to the pull request (as we will see later). - --Then she pushes the tag out to her public repository: -+Then they push the tag out to their public repository: - - ------------ - $ git push example.com:/git/froboz.git/ +frotz-for-xyzzy -@@ Documentation/howto/using-signed-tag-in-pull-request.txt: The contributor then prepares a message to request a "pull": - - The arguments are: - --. the version of the integrator's commit the contributor based her work on; --. the URL of the repository, to which the contributor has pushed what she -- wants to get pulled; and --. the name of the tag the contributor wants to get pulled (earlier, she could -+. the version of the integrator's commit the contributor based their work on; -+. the URL of the repository, to which the contributor has pushed what they -+ want to get pulled; and -+. the name of the tag the contributor wants to get pulled (earlier, they could - write only a branch name here). - - The resulting msg.txt file begins like so: -@@ Documentation/howto/using-signed-tag-in-pull-request.txt: command, the reader should notice that: - - The latter is why the contributor would want to justify why pulling her - work is worthwhile when creating the signed tag. The contributor then --opens her favorite MUA, reads msg.txt, edits and sends it to her upstream -+opens their favorite MUA, reads msg.txt, edits and sends it to their upstream - integrator. - - -@@ Documentation/howto/using-signed-tag-in-pull-request.txt: In the editor, the integrator will see something like this: - - Notice that the message recorded in the signed tag "Completed frotz - feature" appears here, and again that is why it is important for the --contributor to explain her work well when creating the signed tag. -+contributor to explain their work well when creating the signed tag. - - As usual, the lines commented with `#` are stripped out. The resulting - commit records the signed tag used for this validation in a hidden field - so that it can later be used by others to audit the history. There is no --need for the integrator to keep a separate copy of the tag in his -+need for the integrator to keep a separate copy of the tag in their - repository (i.e. `git tag -l` won't list the `frotz-for-xyzzy` tag in the --above example), and there is no need to publish the tag to his public -+above example), and there is no need to publish the tag to their public - repository, either. - --After the integrator responds to the pull request and her work becomes -+After the integrator responds to the pull request and their work becomes - part of the permanent history, the contributor can remove the tag from --her public repository, if she chooses, in order to keep the tag namespace --of her public repository clean, with: -+their public repository, if they choose, in order to keep the tag namespace -+of their public repository clean, with: - - ------------ - $ git push example.com:/git/froboz.git :frotz-for-xyzzy - ## Documentation/user-manual.txt ## @@ Documentation/user-manual.txt: A fast-forward looks something like this: 2: b36e3f99716b ! 2: f611603718ab *: use singular they in comments @@ Commit message Replace these uses with "they/them" which universally includes all potential readers. + Helped-by: Felipe Contreras <firstname.lastname@example.org> Signed-off-by: Derrick Stolee <email@example.com> ## commit.c ## @@ commit.c: static void handle_signed_tag(struct commit *parent, struct commit_ext * We could verify this signature and either omit the tag when * it does not validate, but the integrator may not have the - * public key of the signer of the tag he is merging, while a -+ * public key of the signer of the tag they are merging, while a ++ * public key of the signer of the tag being merged, while a * later auditor may have it while auditing, so let's not run * verify-signed-buffer here for now... * @@ config.h: void git_configset_init(struct config_set *cs); */ int git_configset_add_file(struct config_set *cs, const char *filename); - ## contrib/hooks/multimail/git_multimail.py ## -@@ contrib/hooks/multimail/git_multimail.py: class GitoliteEnvironmentLowPrecMixin( - def get_repo_shortname(self): - # The gitolite environment variable $GL_REPO is a pretty good - # repo_shortname (though it's probably not as good as a value -- # the user might have explicitly put in his config). -+ # the user might have explicitly put in their config). - return ( - self.osenv.get('GL_REPO', None) or - super(GitoliteEnvironmentLowPrecMixin, self).get_repo_shortname() -@@ contrib/hooks/multimail/git_multimail.py: def get_pusher(self): - # __submitter into an RFC 2822 string already. - return re.match(r'(.*?)\s*<', self.__submitter).group(1) - else: -- # Submitter has no configured email, it's just his name. -+ # Submitter has no configured email, it's just their name. - return self.__submitter - else: - # If we arrive here, this means someone pushed "Submit" from - ## date.c ## @@ date.c: int parse_expiry_date(const char *date, timestamp_t *timestamp) /* 3: c40ad4a058a7 = 3: feecbd7a0c6e *: fix typos 4: d2c079264955 ! 4: 065e2fdeb151 CodingGuidelines: recommend singular they @@ Commit message To futher justify singular "they" as an acceptable grammatical concept, I include the careful research of brian m. carlson who collected their - thoughts on this matter  (lightly edited): + thoughts on this matter  (lightly edited): Singular "they" has been used by native English speakers as part of the language for over half a millennium and is widely used and - understood. This usage is specified in Merriam Webster: + understood. This usage is specified in Merriam Webster: The use of they, their, them, and themselves as pronouns of indefinite gender and indefinite number is well established in speech and writing, even in literary and formal contexts. - Wiktionary notes (references omitted): + Wiktionary notes (references omitted): Usage of they as a singular pronoun began in the 1300s and has been common ever since, despite attempts by some grammarians, beginning @@ Commit message linguists, we should probably consider using the language that most people will use in this context. -  https://lore.kernel.org/git/YKrk4dEjEm6firstname.lastname@example.org/ -  https://www.merriam-webster.com/dictionary/they -  https://en.wiktionary.org/wiki/they +  https://lore.kernel.org/git/YKrk4dEjEm6email@example.com/ +  https://www.merriam-webster.com/dictionary/they +  https://en.wiktionary.org/wiki/they + + Since singular "they" might be unfamiliar to some, we also list an + option to rephrase writing to use singular "you" or plural "they". We + can use singular "you" to refer to the reader instead of an abstract + user. Plural "they" works if we refer to multiple abstract users instead + of one. The English language does not have gendered versions of these + terms. If we refer to a specific person, then using a gendered pronoun is - appropriate. Examples within the Git codebase include: + appropriate. There can also be other cases where it is inappropriate for + us to update the existing examples within the Git codebase, such as: * References to real people (e.g. Linus Torvalds, "the Git maintainer"). Do not misgender real people. If there is any doubt to the gender of a @@ Commit message modifying the license this way is not within the scope of the Git project. + * Literal email messages in Documentation/howto/ should not be edited + for grammatical concerns such as this, unless we update the entire + document to fit the standard documentation format. If such an effort is + taken on, then the authorship would change and no longer refer to the + exact mail message. + + * External projects consumed in contrib/ should not deviate solely for + style reasons. Recommended edits should be contributed to those + projects directly. + Other cases within the Git project were cleaned up by the previous changes. + Helped-by: Junio C Hamano <firstname.lastname@example.org> Signed-off-by: Derrick Stolee <email@example.com> ## Documentation/CodingGuidelines ## @@ Documentation/CodingGuidelines: Writing Documentation: the former, the part that should not get substituted must be quoted/escaped. + -+ When referring to an anonymous user, use singular "they/them" pronouns -+ as opposed to choosing between "he/him" and "she/her". Do not use more -+ complicated constructs such as "he or she" or "s/he". This recommendation -+ also applies to code comments and commit messages. ++ Refer to an anonymous user in a gender neutral way. Singular "they/them" ++ pronouns are preferred over "he/him" and "she/her". Do not use more ++ complicated constructs such as "he or she" or "s/he". When in doubt about ++ how to use this pronoun, then change your sentence to use singular "you" ++ (e.g. "When you want to do X, do Y") or plural "they" (e.g. "When users ++ want to do X, they can do Y."). -- gitgitgadget
next prev parent reply other threads:[~2021-06-09 13:55 UTC|newest] Thread overview: 124+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-07 16:57 [PATCH " Derrick Stolee via GitGitGadget 2021-06-07 16:57 ` [PATCH 1/4] Documentation: use singular they " Derrick Stolee via GitGitGadget 2021-06-07 17:09 ` Ævar Arnfjörð Bjarmason 2021-06-07 17:32 ` Derrick Stolee 2021-06-07 17:42 ` Andrei Rybak 2021-06-07 18:21 ` Ævar Arnfjörð Bjarmason 2021-06-10 7:44 ` Johannes Schindelin 2021-06-10 14:35 ` Felipe Contreras 2021-06-07 21:36 ` Felipe Contreras 2021-06-09 18:47 ` Phillip Susi 2021-06-09 20:26 ` Felipe Contreras 2021-06-11 15:40 ` Phillip Susi 2021-06-11 17:03 ` Felipe Contreras 2021-06-10 18:30 ` Derrick Stolee 2021-06-11 0:16 ` Junio C Hamano 2021-06-11 16:00 ` Felipe Contreras 2021-06-12 14:02 ` Phillip Susi 2021-06-08 1:18 ` Junio C Hamano 2021-06-08 8:51 ` Kerry, Richard 2021-06-08 23:21 ` Junio C Hamano 2021-06-09 13:13 ` Derrick Stolee 2021-06-10 3:11 ` Junio C Hamano 2021-06-08 17:33 ` Emily Shaffer 2021-06-08 18:03 ` Felipe Contreras 2021-06-09 13:44 ` Kerry, Richard 2021-06-09 17:44 ` Felipe Contreras 2021-06-25 14:30 ` Kerry, Richard 2021-06-09 4:48 ` Junio C Hamano 2021-06-10 8:18 ` Johannes Schindelin 2021-06-10 14:42 ` Felipe Contreras 2021-06-14 22:10 ` Robert Karszniewicz 2021-06-07 16:57 ` [PATCH 2/4] *: use singular they in comments Derrick Stolee via GitGitGadget 2021-06-07 17:12 ` Ævar Arnfjörð Bjarmason 2021-06-07 17:20 ` Derrick Stolee 2021-06-10 8:20 ` Johannes Schindelin 2021-06-07 19:02 ` Junio C Hamano 2021-06-07 21:44 ` Felipe Contreras 2021-06-08 17:36 ` Emily Shaffer 2021-06-07 16:57 ` [PATCH 3/4] *: fix typos Derrick Stolee via GitGitGadget 2021-06-08 17:37 ` Emily Shaffer 2021-06-10 8:36 ` Johannes Schindelin 2021-06-10 19:53 ` Derrick Stolee 2021-06-11 9:55 ` Johannes Schindelin 2021-06-07 16:57 ` [PATCH 4/4] CodingGuidelines: recommend singular they Derrick Stolee via GitGitGadget 2021-06-07 18:31 ` Ævar Arnfjörð Bjarmason 2021-06-08 1:47 ` Felipe Contreras 2021-06-07 18:56 ` Junio C Hamano 2021-06-07 19:05 ` Derrick Stolee 2021-06-08 0:05 ` Junio C Hamano 2021-06-10 21:34 ` brian m. carlson 2021-06-10 8:39 ` Johannes Schindelin 2021-06-07 20:00 ` Felipe Contreras 2021-06-09 18:29 ` Phillip Susi 2021-06-09 20:18 ` Felipe Contreras 2021-06-07 20:20 ` Robert Karszniewicz 2021-06-07 22:18 ` Felipe Contreras 2021-06-08 7:10 ` Jeff King 2021-06-08 8:11 ` Felipe Contreras 2021-06-09 13:23 ` Derrick Stolee 2021-06-09 15:20 ` Felipe Contreras 2021-06-10 22:06 ` brian m. carlson 2021-06-11 16:11 ` Felipe Contreras 2021-06-08 17:39 ` Emily Shaffer 2021-06-09 4:44 ` Junio C Hamano 2021-06-09 13:27 ` Derrick Stolee 2021-06-07 20:10 ` [PATCH 0/4] Use singular "they" when appropriate Felipe Contreras 2021-06-09 13:54 ` Derrick Stolee via GitGitGadget [this message] 2021-06-09 13:54 ` [PATCH v2 1/4] Documentation: use singular they " Derrick Stolee via GitGitGadget 2021-06-09 15:33 ` Felipe Contreras 2021-06-09 13:54 ` [PATCH v2 2/4] *: use singular they in comments Derrick Stolee via GitGitGadget 2021-06-09 15:41 ` Felipe Contreras 2021-06-09 13:54 ` [PATCH v2 3/4] *: fix typos Derrick Stolee via GitGitGadget 2021-06-09 13:54 ` [PATCH v2 4/4] CodingGuidelines: recommend singular they Derrick Stolee via GitGitGadget 2021-06-09 15:50 ` Felipe Contreras 2021-06-09 15:44 ` [PATCH v2 0/4] Use singular "they" when appropriate Ævar Arnfjörð Bjarmason 2021-06-09 17:22 ` Felipe Contreras 2021-06-10 2:03 ` Junio C Hamano 2021-06-10 2:28 ` Junio C Hamano 2021-06-10 3:30 ` Felipe Contreras 2021-06-10 22:32 ` brian m. carlson 2021-06-10 22:58 ` Ævar Arnfjörð Bjarmason 2021-06-11 16:32 ` Felipe Contreras 2021-06-11 17:18 ` Derrick Stolee 2021-06-11 20:38 ` Felipe Contreras 2021-06-13 7:17 ` Ævar Arnfjörð Bjarmason 2021-06-15 6:02 ` Junio C Hamano 2021-06-15 13:36 ` Derrick Stolee 2021-06-15 17:03 ` Felipe Contreras 2021-06-14 0:47 ` Junio C Hamano 2021-06-15 14:11 ` [PATCH v3 0/4] Avoid gendered pronouns Derrick Stolee via GitGitGadget 2021-06-15 14:11 ` [PATCH v3 1/4] doc: avoid using the gender of other people Felipe Contreras via GitGitGadget 2021-06-15 14:11 ` [PATCH v3 2/4] comments: avoid using the gender of our users Felipe Contreras via GitGitGadget 2021-06-15 14:11 ` [PATCH v3 3/4] *: fix typos Derrick Stolee via GitGitGadget 2021-06-15 14:11 ` [PATCH v3 4/4] CodingGuidelines: recommend singular they Derrick Stolee via GitGitGadget 2021-06-15 16:19 ` Ævar Arnfjörð Bjarmason 2021-06-15 17:26 ` Felipe Contreras 2021-06-16 2:47 ` Junio C Hamano 2021-06-16 5:06 ` Junio C Hamano 2021-06-16 9:26 ` Bagas Sanjaya 2021-06-16 17:44 ` Derrick Stolee 2021-06-16 19:54 ` Ævar Arnfjörð Bjarmason 2021-06-16 23:22 ` Felipe Contreras 2021-06-17 0:09 ` Junio C Hamano 2021-06-17 13:22 ` Derrick Stolee 2021-06-17 14:53 ` Ævar Arnfjörð Bjarmason 2021-06-17 17:06 ` Felipe Contreras 2021-06-17 15:25 ` Felipe Contreras 2021-06-18 0:26 ` brian m. carlson 2021-06-18 16:12 ` Felipe Contreras 2021-06-17 15:23 ` Felipe Contreras 2021-06-17 15:58 ` Ævar Arnfjörð Bjarmason 2021-06-18 0:53 ` brian m. carlson 2021-06-18 7:24 ` Ævar Arnfjörð Bjarmason 2021-06-18 16:40 ` Felipe Contreras 2021-06-19 7:03 ` Junio C Hamano 2021-06-28 22:32 ` Junio C Hamano 2021-06-29 1:31 ` Felipe Contreras 2021-06-29 1:53 ` Derrick Stolee 2021-06-29 12:29 ` Ævar Arnfjörð Bjarmason 2021-06-17 15:12 ` Felipe Contreras 2021-06-17 14:46 ` Felipe Contreras 2021-06-15 17:08 ` Felipe Contreras 2021-06-12 4:40 ` [PATCH 0/4] Use singular "they" when appropriate Bagas Sanjaya 2021-06-12 14:19 ` Phillip Susi
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 \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --subject='Re: [PATCH v2 0/4] Use singular "they" when appropriate' \ /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
Code repositories for project(s) associated with this 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).