Skip to content

Commit 8e62a85

Browse files
committed
Merge branch 'ds/gender-neutral-doc'
Update the documentation not to assume users are of certain gender and adds to guidelines to do so. * ds/gender-neutral-doc: *: fix typos comments: avoid using the gender of our users doc: avoid using the gender of other people
2 parents 8721e2e + 46a237f commit 8e62a85

File tree

11 files changed

+14
-16
lines changed

11 files changed

+14
-16
lines changed

Documentation/SubmittingPatches

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,8 @@ If you like, you can put extra tags at the end:
373373
. `Acked-by:` says that the person who is more familiar with the area
374374
the patch attempts to modify liked the patch.
375375
. `Reviewed-by:`, unlike the other tags, can only be offered by the
376-
reviewer and means that she is completely satisfied that the patch
377-
is ready for application. It is usually offered only after a
378-
detailed review.
376+
reviewers themselves when they are completely satisfied with the
377+
patch after a detailed analysis.
379378
. `Tested-by:` is used to indicate that the person applied the patch
380379
and found it to have the desired effect.
381380

Documentation/git-push.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ Imagine that you have to rebase what you have already published.
244244
You will have to bypass the "must fast-forward" rule in order to
245245
replace the history you originally published with the rebased history.
246246
If somebody else built on top of your original history while you are
247-
rebasing, the tip of the branch at the remote may advance with her
248-
commit, and blindly pushing with `--force` will lose her work.
247+
rebasing, the tip of the branch at the remote may advance with their
248+
commit, and blindly pushing with `--force` will lose their work.
249249
+
250250
This option allows you to say that you expect the history you are
251251
updating is what you rebased and want to replace. If the remote ref

Documentation/user-manual.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2792,7 +2792,7 @@ A fast-forward looks something like this:
27922792

27932793
In some cases it is possible that the new head will *not* actually be
27942794
a descendant of the old head. For example, the developer may have
2795-
realized she made a serious mistake, and decided to backtrack,
2795+
realized a serious mistake was made and decided to backtrack,
27962796
resulting in a situation like:
27972797

27982798
................................................

commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ static void handle_signed_tag(struct commit *parent, struct commit_extra_header
11781178
/*
11791179
* We could verify this signature and either omit the tag when
11801180
* it does not validate, but the integrator may not have the
1181-
* public key of the signer of the tag he is merging, while a
1181+
* public key of the signer of the tag being merged, while a
11821182
* later auditor may have it while auditing, so let's not run
11831183
* verify-signed-buffer here for now...
11841184
*

config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2838,7 +2838,7 @@ static void maybe_remove_section(struct config_store_data *store,
28382838
begin = store->parsed[i].begin;
28392839

28402840
/*
2841-
* Next, make sure that we are removing he last key(s) in the section,
2841+
* Next, make sure that we are removing the last key(s) in the section,
28422842
* and that there are no comments that are possibly about the current
28432843
* section.
28442844
*/

config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,8 @@ void git_configset_init(struct config_set *cs);
450450
/**
451451
* Parses the file and adds the variable-value pairs to the `config_set`,
452452
* dies if there is an error in parsing the file. Returns 0 on success, or
453-
* -1 if the file does not exist or is inaccessible. The user has to decide
454-
* if he wants to free the incomplete configset or continue using it when
453+
* -1 if the file does not exist or is inaccessible. The caller decides
454+
* whether to free the incomplete configset or continue using it when
455455
* the function returns -1.
456456
*/
457457
int git_configset_add_file(struct config_set *cs, const char *filename);

date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ int parse_expiry_date(const char *date, timestamp_t *timestamp)
908908
/*
909909
* We take over "now" here, which usually translates
910910
* to the current timestamp. This is because the user
911-
* really means to expire everything she has done in
911+
* really means to expire everything that was done in
912912
* the past, and by definition reflogs are the record
913913
* of the past, and there is nothing from the future
914914
* to be kept.

pathspec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ struct pathspec {
108108
*
109109
* A similar process is applied when a new pathspec magic is added. The designer
110110
* lifts the GUARD_PATHSPEC restriction in the functions that support the new
111-
* magic. At the same time (s)he has to make sure this new feature will be
111+
* magic while at the same time making sure this new feature will be
112112
* caught at parse_pathspec() in commands that cannot handle the new magic in
113113
* some cases. grepping parse_pathspec() should help.
114114
*/

strbuf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ const char *strbuf_join_argv(struct strbuf *buf, int argc,
337337
* placeholder is unknown, then the percent sign is copied, too.
338338
*
339339
* In order to facilitate caching and to make it possible to give
340-
* parameters to the callback, `strbuf_expand()` passes a context pointer,
341-
* which can be used by the programmer of the callback as she sees fit.
340+
* parameters to the callback, `strbuf_expand()` passes a context
341+
* pointer with any kind of data.
342342
*/
343343
typedef size_t (*expand_fn_t) (struct strbuf *sb,
344344
const char *placeholder,

t/t9300-fast-import.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,6 @@ test_expect_success 'O: comments are all skipped' '
15381538
commit refs/heads/O1
15391539
# -- ignore all of this text
15401540
committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE
1541-
# $GIT_COMMITTER_NAME has inserted here for his benefit.
15421541
data <<COMMIT
15431542
dirty directory copy
15441543
COMMIT

0 commit comments

Comments
 (0)