Skip to content

Commit d59c12d

Browse files
committed
Merge branch 'jl/nor-or-nand-and'
Eradicate mistaken use of "nor" (that is, essentially "nor" used not in "neither A nor B" ;-)) from in-code comments, command output strings, and documentations. * jl/nor-or-nand-and: code and test: fix misuses of "nor" comments: fix misuses of "nor" contrib: fix misuses of "nor" Documentation: fix misuses of "nor"
2 parents 9b30a03 + 235e8d5 commit d59c12d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+88
-90
lines changed

Documentation/CodingGuidelines

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ For shell scripts specifically (not exhaustive):
9191
E.g.: my_function () {
9292

9393
- As to use of grep, stick to a subset of BRE (namely, no \{m,n\},
94-
[::], [==], nor [..]) for portability.
94+
[::], [==], or [..]) for portability.
9595

9696
- We do not use \{m,n\};
9797

9898
- We do not use -E;
9999

100-
- We do not use ? nor + (which are \{0,1\} and \{1,\}
100+
- We do not use ? or + (which are \{0,1\} and \{1,\}
101101
respectively in BRE) but that goes without saying as these
102102
are ERE elements not BRE (note that \? and \+ are not even part
103103
of BRE -- making them accessible from BRE is a GNU extension).

Documentation/config.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ be escaped: use `\"` for `"` and `\\` for `\`.
7878

7979
The following escape sequences (beside `\"` and `\\`) are recognized:
8080
`\n` for newline character (NL), `\t` for horizontal tabulation (HT, TAB)
81-
and `\b` for backspace (BS). No other char escape sequence, nor octal
82-
char sequences are valid.
81+
and `\b` for backspace (BS). Other char escape sequences (including octal
82+
escape sequences) are invalid.
8383

8484
Variable values ending in a `\` are continued on the next line in the
8585
customary UNIX fashion.
@@ -826,7 +826,7 @@ color.diff::
826826
commands will only use color when output is to the terminal.
827827
Defaults to false.
828828
+
829-
This does not affect linkgit:git-format-patch[1] nor the
829+
This does not affect linkgit:git-format-patch[1] or the
830830
'git-diff-{asterisk}' plumbing commands. Can be overridden on the
831831
command line with the `--color[=<when>]` option.
832832

Documentation/diff-generate-patch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ added, from the point of view of that parent).
174174
In the above example output, the function signature was changed
175175
from both files (hence two `-` removals from both file1 and
176176
file2, plus `++` to mean one line that was added does not appear
177-
in either file1 nor file2). Also eight other lines are the same
177+
in either file1 or file2). Also eight other lines are the same
178178
from file1 but do not appear in file2 (hence prefixed with `+`).
179179

180180
When shown by `git diff-tree -c`, it compares the parents of a

Documentation/diff-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ endif::git-log[]
358358
--irreversible-delete::
359359
Omit the preimage for deletes, i.e. print only the header but not
360360
the diff between the preimage and `/dev/null`. The resulting patch
361-
is not meant to be applied with `patch` nor `git apply`; this is
361+
is not meant to be applied with `patch` or `git apply`; this is
362362
solely for people who want to just concentrate on reviewing the
363363
text after the change. In addition, the output obviously lack
364364
enough information to apply such a patch in reverse, even manually,

Documentation/everyday.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ that are not quite ready.
263263
<5> create topic branch as needed and apply, again with my
264264
sign-offs.
265265
<6> rebase internal topic branch that has not been merged to the
266-
master, nor exposed as a part of a stable branch.
266+
master or exposed as a part of a stable branch.
267267
<7> restart `pu` every time from the next.
268268
<8> and bundle topic branches still cooking.
269269
<9> backport a critical fix.

Documentation/git-add.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ patch::
300300

301301
y - stage this hunk
302302
n - do not stage this hunk
303-
q - quit; do not stage this hunk nor any of the remaining ones
303+
q - quit; do not stage this hunk or any of the remaining ones
304304
a - stage this hunk and all later hunks in the file
305-
d - do not stage this hunk nor any of the later hunks in the file
305+
d - do not stage this hunk or any of the later hunks in the file
306306
g - select a hunk to go to
307307
/ - search for a hunk matching the given regex
308308
j - leave this hunk undecided, see next undecided hunk

Documentation/git-count-objects.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
3333
prune-packable: the number of loose objects that are also present in
3434
the packs. These objects could be pruned using `git prune-packed`.
3535
+
36-
garbage: the number of files in object database that are not valid
37-
loose objects nor valid packs
36+
garbage: the number of files in object database that are neither valid loose
37+
objects nor valid packs
3838
+
3939
size-garbage: disk space consumed by garbage files, in KiB (unless -H is
4040
specified)

Documentation/git-diff.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ $ git diff --name-status <2>
158158
$ git diff arch/i386 include/asm-i386 <3>
159159
------------
160160
+
161-
<1> Show only modification, rename and copy, but not addition
162-
nor deletion.
161+
<1> Show only modification, rename, and copy, but not addition
162+
or deletion.
163163
<2> Show only names and the nature of change, but not actual
164164
diff output.
165165
<3> Limit diff output to named subtrees.

Documentation/git-prune.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ OPTIONS
5656
EXAMPLE
5757
-------
5858

59-
To prune objects not used by your repository nor another that
59+
To prune objects not used by your repository or another that
6060
borrows from your repository via its
6161
`.git/objects/info/alternates`:
6262

Documentation/git-push.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ will now start building on top of B.
385385
The command by default does not allow an update that is not a fast-forward
386386
to prevent such loss of history.
387387

388-
If you do not want to lose your work (history from X to B) nor the work by
388+
If you do not want to lose your work (history from X to B) or the work by
389389
the other person (history from X to A), you would need to first fetch the
390390
history from the repository, create a history that contains changes done
391391
by both parties, and push the result back.

0 commit comments

Comments
 (0)