Fix misuses of "nor"
Subsystems (2)
cover Fix misuses of "nor"
I got annoyed by git's awkward use of "nor" in man pages and in git add -p, so I went ahead and audited all uses of "nor" in the tree. One might be able to argue that some of the uses I've changed are technically acceptable, but that's a pretty low bar to set for ourselves. I aimed to make everything both correct and idiomatic.
All I really care about is git-add--interactive.perl and (to a lesser extent) the docs, so if any of these other changes are controversial or annoying to take, I'm happy to drop them.
This is my first patch to git, so I've probably made a few fatal errors in how I packaged this change; apologies in advance.
Justin Lebar (6):
Documentation: Fix misuses of "nor"
contrib: Fix misuses of "nor"
l10n: Fix misuses of "nor"
Fix misuses of "nor" in comments
Fix misuses of "nor" outside comments
Tests: Fix misuses of "nor"
Documentation/CodingGuidelines | 4 ++-- Documentation/config.txt | 6 +++--- Documentation/diff-generate-patch.txt | 2 +- Documentation/diff-options.txt | 2 +- Documentation/everyday.txt | 2 +- Documentation/git-add.txt | 4 ++-- Documentation/git-count-objects.txt | 4 ++-- Documentation/git-diff.txt | 4 ++-- Documentation/git-prune.txt | 2 +- Documentation/git-push.txt | 2 +- Documentation/git-read-tree.txt | 2 +- Documentation/git-reset.txt | 6 +++--- Documentation/git-show-branch.txt | 2 +- Documentation/git-show-ref.txt | 2 +- Documentation/howto/rebase-from-internal-branch.txt | 2 +- Documentation/howto/revert-a-faulty-merge.txt | 4 ++-- Documentation/howto/revert-branch-rebase.txt | 2 +- Documentation/merge-options.txt | 15 +++++++-------- Documentation/pretty-formats.txt | 2 +- Documentation/pretty-options.txt | 2 +- Documentation/rev-list-options.txt | 2 +- Documentation/technical/api-gitattributes.txt | 2 +- Documentation/technical/pack-protocol.txt | 8 ++++---- Documentation/technical/protocol-common.txt | 2 +- Documentation/user-manual.txt | 2 +- Makefile | 2 +- builtin/apply.c | 2 +- builtin/checkout.c | 2 +- builtin/clean.c | 6 +++--- builtin/commit.c | 2 +- builtin/log.c | 2 +- builtin/pack-objects.c | 2 +- builtin/reset.c | 4 ++-- builtin/show-branch.c | 2 +- column.c | 2 +- contrib/examples/git-checkout.sh | 2 +- contrib/examples/git-commit.sh | 2 +- contrib/examples/git-reset.sh | 4 ++-- contrib/fast-import/import-directories.perl | 4 ++-- contrib/svn-fe/svn-fe.txt | 4 ++-- delta.h | 2 +- diff.c | 2 +- git-add--interactive.perl | 4 ++-- git-am.sh | 2 +- gitweb/gitweb.perl | 2 +- http.h | 4 ++-- perl/Git/SVN.pm | 6 +++--- perl/Git/SVN/Migration.pm | 2 +- pkt-line.h | 2 +- po/bg.po | 6 +++--- po/de.po | 6 +++--- po/fr.po | 6 +++--- po/git.pot | 6 +++--- po/it.po | 2 +- po/pt_PT.po | 2 +- po/sv.po | 6 +++--- po/vi.po | 6 +++--- po/zh_CN.po | 6 +++--- remote.c | 2 +- sha1_file.c | 4 ++-- t/t1001-read-tree-m-2way.sh | 2 +- t/t4005-diff-rename-2.sh | 2 +- t/t4009-diff-rename-4.sh | 2 +- t/t5304-prune.sh | 2 +- t/t6036-recursive-corner-cases.sh | 2 +- t/t7104-reset.sh | 2 +- t/t9400-git-cvsserver-server.sh | 2 +- test-chmtime.c | 2 +- 68 files changed, 111 insertions(+), 112 deletions(-)
Signature · 1 line
1.9.0.279.gdc9e3eb
PATCH 5/6 Fix misuses of "nor" outside comments
--- builtin/clean.c | 6 +++--- builtin/commit.c | 2 +- git-add--interactive.perl | 4 ++-- perl/Git/SVN.pm | 4 ++-- sha1_file.c | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-)
builtin/clean.c +3 -3
@@ -903,11 +903,11 @@ int cmd_clean(int argc, const char **argv, const char *prefix)if (!interactive && !dry_run && !force) {if (config_set) -die (_ ("clean.requireForce set to true and neither -i, -n nor -f given; " +die (_ ("clean.requireForce set to true and neither -i, -n, nor -f given; " "refusing to clean" ));else -die (_ ("clean.requireForce defaults to true and neither -i, -n nor -f given; " -"refusing to clean" )); +die (_ ("clean.requireForce defaults to true and neither -i, -n, nor -f given;" +" refusing to clean" )); }if (force >1 )
builtin/commit.c +1 -1
@@ -1123,7 +1123,7 @@ static int parse_and_validate_options(int argc, const char *argv[],if (argc ==0 && only && amend) only_include_assumed =_ ("Clever... amending the last one with dirty index." );if (argc >0 && !also && !only) - only_include_assumed =_ ("Explicit paths specified without -i nor -o; assuming --only paths..." ); + only_include_assumed =_ ("Explicit paths specified without -i or -o; assuming --only paths..." );if (!cleanup_arg || !strcmp (cleanup_arg,"default" )) cleanup_mode = use_editor ?CLEANUP_ALL :CLEANUP_SPACE ;else if (!strcmp (cleanup_arg,"verbatim" ))
git-add--interactive.perl +2 -2
@@ -1156,9 +1156,9 @@ sub help_patch_cmd { print colored $help_color, <<EOF ; y - $verb this hunk$target n - do not $verb this hunk$target -q - quit; do not $verb this hunk nor any of the remaining ones +q - quit; do not $verb this hunk or any of the remaining ones a - $verb this hunk and all later hunks in the file -d - do not $verb this hunk nor any of the later hunks in the file +d - do not $verb this hunk or any of the later hunks in the file g - select a hunk to go to / - search for a hunk matching the given regex j - leave this hunk undecided, see next undecided hunk
perl/Git/SVN.pm +2 -2
@@ -480,8 +480,8 @@ sub refname { # It cannot end with a slash /, we'll throw up on this because # SVN can't have directories with a slash in their name, either: if ($refname =~ m{/$}) { - die "ref: '$refname' ends with a trailing slash, this is ", - "not permitted by git nor Subversion\n"; + die "ref: '$refname' ends with a trailing slash; this is ", + "not permitted by git or Subversion\n"; } # It cannot have ASCII control character space, tilde ~, caret ^,
sha1_file.c +1 -1
@@ -1123,7 +1123,7 @@ static void report_helper(const struct string_list *list,const char *msg;switch (seen_bits) {case 0 : - msg ="no corresponding .idx nor .pack" ; + msg ="no corresponding .idx or .pack" ;break ;case 1 : msg ="no corresponding .idx" ;
Signature · 1 line
1.9.0.279.gdc9e3eb
PATCH 1/6 Documentation: Fix misuses of "nor"
In reply to Justin Lebar--- Documentation/CodingGuidelines | 4 ++-- Documentation/config.txt | 6 +++--- Documentation/diff-generate-patch.txt | 2 +- Documentation/diff-options.txt | 2 +- Documentation/everyday.txt | 2 +- Documentation/git-add.txt | 4 ++-- Documentation/git-count-objects.txt | 4 ++-- Documentation/git-diff.txt | 4 ++-- Documentation/git-prune.txt | 2 +- Documentation/git-push.txt | 2 +- Documentation/git-read-tree.txt | 2 +- Documentation/git-reset.txt | 6 +++--- Documentation/git-show-branch.txt | 2 +- Documentation/git-show-ref.txt | 2 +- Documentation/howto/rebase-from-internal-branch.txt | 2 +- Documentation/howto/revert-a-faulty-merge.txt | 4 ++-- Documentation/howto/revert-branch-rebase.txt | 2 +- Documentation/merge-options.txt | 15 +++++++-------- Documentation/pretty-formats.txt | 2 +- Documentation/pretty-options.txt | 2 +- Documentation/rev-list-options.txt | 2 +- Documentation/technical/api-gitattributes.txt | 2 +- Documentation/technical/pack-protocol.txt | 8 ++++---- Documentation/technical/protocol-common.txt | 2 +- Documentation/user-manual.txt | 2 +- 25 files changed, 43 insertions(+), 44 deletions(-)
Documentation/CodingGuidelines +2 -2
@@ -91,13 +91,13 @@ For shell scripts specifically (not exhaustive): E.g.: my_function () { - As to use of grep, stick to a subset of BRE (namely, no \{m,n\}, - [::], [==], nor [..]) for portability. + [::], [==], or [..]) for portability. - We do not use \{m,n\}; - We do not use -E; - - We do not use ? nor + (which are \{0,1\} and \{1,\} + - We do not use ? or + (which are \{0,1\} and \{1,\} respectively in BRE) but that goes without saying as these are ERE elements not BRE (note that \? and \+ are not even part of BRE -- making them accessible from BRE is a GNU extension).
Documentation/config.txt +3 -3
@@ -78,8 +78,8 @@ be escaped: use `\"` for `"` and `\\` for `\`. The following escape sequences (beside `\"` and `\\`) are recognized: `\n` for newline character (NL), `\t` for horizontal tabulation (HT, TAB) -and `\b` for backspace (BS). No other char escape sequence, nor octal -char sequences are valid. +and `\b` for backspace (BS). Other char escape sequences (including octal +escape sequences) are invalid. Variable values ending in a `\` are continued on the next line in the customary UNIX fashion.
@@ -827,7 +827,7 @@ color.diff:: commands will only use color when output is to the terminal. Defaults to false. + -This does not affect linkgit:git-format-patch[1] nor the +This does not affect linkgit:git-format-patch[1] or the 'git-diff-{asterisk}' plumbing commands. Can be overridden on the command line with the `--color[=<when>]` option.
Documentation/diff-generate-patch.txt +1 -1
@@ -174,7 +174,7 @@ added, from the point of view of that parent). In the above example output, the function signature was changed from both files (hence two `-` removals from both file1 and file2, plus `++` to mean one line that was added does not appear -in either file1 nor file2). Also eight other lines are the same +in either file1 or file2). Also eight other lines are the same from file1 but do not appear in file2 (hence prefixed with `+`). When shown by `git diff-tree -c`, it compares the parents of a
Documentation/diff-options.txt +1 -1
@@ -358,7 +358,7 @@ endif::git-log[] --irreversible-delete:: Omit the preimage for deletes, i.e. print only the header but not the diff between the preimage and `/dev/null`. The resulting patch - is not meant to be applied with `patch` nor `git apply`; this is + is not meant to be applied with `patch` or `git apply`; this is solely for people who want to just concentrate on reviewing the text after the change. In addition, the output obviously lack enough information to apply such a patch in reverse, even manually,
Documentation/everyday.txt +1 -1
@@ -263,7 +263,7 @@ that are not quite ready. <5> create topic branch as needed and apply, again with my sign-offs. <6> rebase internal topic branch that has not been merged to the -master, nor exposed as a part of a stable branch. +master or exposed as a part of a stable branch. <7> restart `pu` every time from the next. <8> and bundle topic branches still cooking. <9> backport a critical fix.
Documentation/git-add.txt +2 -2
@@ -296,9 +296,9 @@ patch:: y - stage this hunk n - do not stage this hunk - q - quit; do not stage this hunk nor any of the remaining ones + q - quit; do not stage this hunk or any of the remaining ones a - stage this hunk and all later hunks in the file - d - do not stage this hunk nor any of the later hunks in the file + d - do not stage this hunk or any of the later hunks in the file g - select a hunk to go to / - search for a hunk matching the given regex j - leave this hunk undecided, see next undecided hunk
Documentation/git-count-objects.txt +2 -2
@@ -33,8 +33,8 @@ size-pack: disk space consumed by the packs, in KiB (unless -H is specified) prune-packable: the number of loose objects that are also present in the packs. These objects could be pruned using `git prune-packed`. + -garbage: the number of files in object database that are not valid -loose objects nor valid packs +garbage: the number of files in object database that are neither valid loose +objects nor valid packs + size-garbage: disk space consumed by garbage files, in KiB (unless -H is specified)
Documentation/git-diff.txt +2 -2
@@ -158,8 +158,8 @@ $ git diff --name-status <2> $ git diff arch/i386 include/asm-i386 <3> ------------ + -<1> Show only modification, rename and copy, but not addition -nor deletion. +<1> Show only modification, rename, and copy, but not addition +or deletion. <2> Show only names and the nature of change, but not actual diff output. <3> Limit diff output to named subtrees.
Documentation/git-prune.txt +1 -1
@@ -56,7 +56,7 @@ OPTIONS EXAMPLE ------- -To prune objects not used by your repository nor another that +To prune objects not used by your repository or another that borrows from your repository via its `.git/objects/info/alternates`:
Documentation/git-push.txt +1 -1
@@ -385,7 +385,7 @@ will now start building on top of B. The command by default does not allow an update that is not a fast-forward to prevent such loss of history. -If you do not want to lose your work (history from X to B) nor the work by +If you do not want to lose your work (history from X to B) or the work by the other person (history from X to A), you would need to first fetch the history from the repository, create a history that contains changes done by both parties, and push the result back.
Documentation/git-read-tree.txt +1 -1
@@ -57,7 +57,7 @@ OPTIONS -n:: --dry-run:: Check if the command would error out, without updating the index - nor the files in the working tree for real. + or the files in the working tree for real. -v:: Show the progress of checking files out.
Documentation/git-reset.txt +3 -3
@@ -21,7 +21,7 @@ to HEAD in all forms. 'git reset' [-q] [<tree-ish>] [--] <paths>...:: This form resets the index entries for all <paths> to their - state at <tree-ish>. (It does not affect the working tree, nor + state at <tree-ish>. (It does not affect the working tree or the current branch.) + This means that `git reset <paths>` is the opposite of `git add
@@ -51,7 +51,7 @@ section of linkgit:git-add[1] to learn how to operate the `--patch` mode. + -- --soft:: - Does not touch the index file nor the working tree at all (but + Does not touch the index file or the working tree at all (but resets the head to <commit>, just like all modes do). This leaves all your changed files "Changes to be committed", as 'git status' would put it.
@@ -115,7 +115,7 @@ and changes with these files are distracting. <2> Somebody asks you to pull, and the changes sounds worthy of merging. <3> However, you already dirtied the index (i.e. your index does not match the HEAD commit). But you know the pull you are going -to make does not affect frotz.c nor filfre.c, so you revert the +to make does not affect frotz.c or filfre.c, so you revert the index changes for these two files. Your changes in working tree remain there. <4> Then you can pull and merge, leaving frotz.c and filfre.c
Documentation/git-show-branch.txt +1 -1
@@ -25,7 +25,7 @@ and/or refs/tags) semi-visually. It cannot show more than 29 branches and commits at a time. It uses `showbranch.default` multi-valued configuration items if -no <rev> nor <glob> is given on the command line. +no <rev> or <glob> is given on the command line. OPTIONS
Documentation/git-show-ref.txt +1 -1
@@ -89,7 +89,7 @@ OPTIONS Show references matching one or more patterns. Patterns are matched from the end of the full name, and only complete parts are matched, e.g. 'master' matches 'refs/heads/master', 'refs/remotes/origin/master', - 'refs/tags/jedi/master' but not 'refs/heads/mymaster' nor + 'refs/tags/jedi/master' but not 'refs/heads/mymaster' or 'refs/remotes/master/jedi'. OUTPUT
Documentation/howto/rebase-from-internal-branch.txt +1 -1
@@ -139,7 +139,7 @@ You fetch from upstream, but not merge. $ git fetch upstream This leaves the updated upstream head in .git/FETCH_HEAD but -does not touch your .git/HEAD nor .git/refs/heads/master. +does not touch your .git/HEAD or .git/refs/heads/master. You run "git rebase" now. $ git rebase FETCH_HEAD master
Documentation/howto/revert-a-faulty-merge.txt +2 -2
@@ -54,7 +54,7 @@ where C and D are to fix what was broken in A and B, and you may already have some other changes on the mainline after W. If you merge the updated side branch (with D at its tip), none of the -changes made in A nor B will be in the result, because they were reverted +changes made in A or B will be in the result, because they were reverted by W. That is what Alan saw. Linus explains the situation:
@@ -90,7 +90,7 @@ with: $ git revert W This history would (ignoring possible conflicts between what W and W..Y -changed) be equivalent to not having W nor Y at all in the history: +changed) be equivalent to not having W or Y at all in the history: ---o---o---o---M---x---x-------x---- /
Documentation/howto/revert-branch-rebase.txt +1 -1
@@ -137,7 +137,7 @@ $ make clean test ;# make sure it did not cause other breakage. ------------------------------------------------ Everything is in the good order. I do not need the temporary branch -nor tag anymore, so remove them: +or tag anymore, so remove them: ------------------------------------------------ $ rm -f .git/refs/tags/pu-anchor
Documentation/merge-options.txt +7 -8
@@ -63,14 +63,13 @@ merge. --squash:: --no-squash:: - Produce the working tree and index state as if a real - merge happened (except for the merge information), - but do not actually make a commit or - move the `HEAD`, nor record `$GIT_DIR/MERGE_HEAD` to - cause the next `git commit` command to create a merge - commit. This allows you to create a single commit on - top of the current branch whose effect is the same as - merging another branch (or more in case of an octopus). + Produce the working tree and index state as if a real merge + happened (except for the merge information), but do not actually + make a commit, move the `HEAD`, or record `$GIT_DIR/MERGE_HEAD` + (to cause the next `git commit` command to create a merge + commit). This allows you to create a single commit on top of + the current branch whose effect is the same as merging another + branch (or more in case of an octopus). + With --no-squash perform the merge and commit the result. This option can be used to override --squash.
Documentation/pretty-formats.txt +1 -1
@@ -78,7 +78,7 @@ The 'raw' format shows the entire commit exactly as stored in the commit object. Notably, the SHA-1s are displayed in full, regardless of whether --abbrev or --no-abbrev are used, and 'parents' information show the -true parent commits, without taking grafts nor history +true parent commits, without taking grafts or history simplification into account. * 'format:<string>'
Documentation/pretty-options.txt +1 -1
@@ -39,7 +39,7 @@ people using 80-column terminals. Show the notes (see linkgit:git-notes[1]) that annotate the commit, when showing the commit log message. This is the default for `git log`, `git show` and `git whatchanged` commands when - there is no `--pretty`, `--format` nor `--oneline` option given + there is no `--pretty`, `--format`, or `--oneline` option given on the command line. + By default, the notes shown are from the notes refs listed in the
Documentation/rev-list-options.txt +1 -1
@@ -237,7 +237,7 @@ list. reflog entries from the most recent one to older ones. When this option is used you cannot specify commits to exclude (that is, '{caret}commit', 'commit1..commit2', - nor 'commit1\...commit2' notations cannot be used). + and 'commit1\...commit2' notations cannot be used). + With `--pretty` format other than `oneline` (for obvious reasons), this causes the output to have two extra lines of information
Documentation/technical/api-gitattributes.txt +1 -1
@@ -99,7 +99,7 @@ static void setup_check(void) The attribute is Unset, by listing the name of the attribute prefixed with a dash - for the path. } else if (ATTR_UNSET(value)) { - The attribute is not set nor unset for the path. + The attribute is neither set nor unset for the path. } else if (!strcmp(value, "input")) { If none of ATTR_TRUE(), ATTR_FALSE(), or ATTR_UNSET() is true, the value is a string set in the gitattributes
Documentation/technical/pack-protocol.txt +4 -4
@@ -237,10 +237,10 @@ The client now sends the maximum commit history depth it wants for this transaction, which is the number of commits it wants from the tip of the history, if any, as a 'deepen' line. A depth of 0 is the same as not making a depth request. The client does not want to receive -any commits beyond this depth, nor objects needed only to complete -those commits. Commits whose parents are not received as a result are -defined as shallow and marked as such in the server. This information -is sent back to the client in the next step. +any commits beyond this depth, nor does it want objects needed only to +complete those commits. Commits whose parents are not received as a +result are defined as shallow and marked as such in the server. This +information is sent back to the client in the next step. Once all the 'want's and 'shallow's (and optional 'deepen') are transferred, clients MUST send a flush-pkt, to tell the server side
Documentation/technical/protocol-common.txt +1 -1
@@ -39,7 +39,7 @@ More specifically, they: caret `^`, colon `:`, question-mark `?`, asterisk `*`, or open bracket `[` anywhere. -. They cannot end with a slash `/` nor a dot `.`. +. They cannot end with a slash `/` or a dot `.`. . They cannot end with the sequence `.lock`.
Documentation/user-manual.txt +1 -1
@@ -4074,7 +4074,7 @@ the `HEAD` tree, and stage 3 to the `$target` tree. Earlier we said that trivial merges are done inside `git read-tree -m`. For example, if the file did not change -from `$orig` to `HEAD` nor `$target`, or if the file changed +from `$orig` to `HEAD` or `$target`, or if the file changed from `$orig` to `HEAD` and `$orig` to `$target` the same way, obviously the final outcome is what is in `HEAD`. What the above example shows is that file `hello.c` was changed from
Signature · 1 line
1.9.0.279.gdc9e3eb
PATCH 2/6 contrib: Fix misuses of "nor"
In reply to Justin Lebar--- contrib/examples/git-commit.sh | 2 +- contrib/svn-fe/svn-fe.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
contrib/examples/git-commit.sh +1 -1
@@ -280,7 +280,7 @@ case "$#,$also,$only,$amend" in 0,,,*) ;; *,,,*) - only_include_assumed="# Explicit paths specified without -i nor -o; assuming --only paths..." + only_include_assumed="# Explicit paths specified without -i or -o; assuming --only paths..." also= ;; esac
contrib/svn-fe/svn-fe.txt +2 -2
@@ -40,8 +40,8 @@ manual page. NOTES ----- Subversion dumps do not record a separate author and committer for -each revision, nor a separate display name and email address for -each author. Like git-svn(1), 'svn-fe' will use the name +each revision, nor do they record a separate display name and email +address for each author. Like git-svn(1), 'svn-fe' will use the name --------- user <user@UUID>
Signature · 1 line
1.9.0.279.gdc9e3eb
PATCH 3/6 l10n: Fix misuses of "nor"
In reply to Justin Lebar--- po/bg.po | 6 +++--- po/de.po | 6 +++--- po/fr.po | 6 +++--- po/git.pot | 6 +++--- po/it.po | 2 +- po/pt_PT.po | 2 +- po/sv.po | 6 +++--- po/vi.po | 6 +++--- po/zh_CN.po | 6 +++--- 9 files changed, 23 insertions(+), 23 deletions(-)
po/bg.po +3 -3
@@ -3699,13 +3699,13 @@ msgstr "" #: builtin/clean.c:906 msgid "" -"clean.requireForce set to true and neither -i, -n nor -f given; refusing to " +"clean.requireForce set to true and neither -i, -n, nor -f given; refusing to " "clean" msgstr "" #: builtin/clean.c:909 msgid "" -"clean.requireForce defaults to true and neither -i, -n nor -f given; " +"clean.requireForce defaults to true and neither -i, -n, nor -f given; " "refusing to clean" msgstr ""
@@ -4253,7 +4253,7 @@ msgid "Clever... amending the last one with dirty index." msgstr "" #: builtin/commit.c:1126 -msgid "Explicit paths specified without -i nor -o; assuming --only paths..." +msgid "Explicit paths specified without -i or -o; assuming --only paths..." msgstr "" #: builtin/commit.c:1136 builtin/tag.c:572
po/de.po +3 -3
@@ -3876,7 +3876,7 @@ msgstr "Die Optionen -x und -X können nicht gemeinsam verwendet werden." #: builtin/clean.c:906 msgid "" -"clean.requireForce set to true and neither -i, -n nor -f given; refusing to " +"clean.requireForce set to true and neither -i, -n, or -f given; refusing to " "clean" msgstr "" "clean.requireForce auf \"true\" gesetzt und weder -i, -n noch -f gegeben; "
@@ -3884,7 +3884,7 @@ msgstr "" #: builtin/clean.c:909 msgid "" -"clean.requireForce defaults to true and neither -i, -n nor -f given; " +"clean.requireForce defaults to true and neither -i, -n, or -f given; " "refusing to clean" msgstr "" "clean.requireForce standardmäßig auf \"true\" gesetzt und weder -i, -n noch -"
@@ -4496,7 +4496,7 @@ msgstr "" "Klug... den letzten Commit mit einer geänderten Staging-Area nachbessern." #: builtin/commit.c:1126 -msgid "Explicit paths specified without -i nor -o; assuming --only paths..." +msgid "Explicit paths specified without -i or -o; assuming --only paths..." msgstr "" "Explizite Pfade ohne -i oder -o angegeben; unter der Annahme von --only " "Pfaden..."
po/fr.po +3 -3
@@ -3917,7 +3917,7 @@ msgstr "-x et -X ne peuvent pas être utilisés ensemble" #: builtin/clean.c:906 msgid "" -"clean.requireForce set to true and neither -i, -n nor -f given; refusing to " +"clean.requireForce set to true and neither -i, -n, or -f given; refusing to " "clean" msgstr "" "clean.requireForce positionné à true et ni -i, -n ou -f fourni ; refus de "
@@ -3925,7 +3925,7 @@ msgstr "" #: builtin/clean.c:909 msgid "" -"clean.requireForce defaults to true and neither -i, -n nor -f given; " +"clean.requireForce defaults to true and neither -i, -n, or -f given; " "refusing to clean" msgstr "" "clean.requireForce à true par défaut et ni -i, -n ou -f fourni ; refus de "
@@ -4526,7 +4526,7 @@ msgid "Clever... amending the last one with dirty index." msgstr "Malin... correction du dernier avec un index sale." #: builtin/commit.c:1126 -msgid "Explicit paths specified without -i nor -o; assuming --only paths..." +msgid "Explicit paths specified without -i or -o; assuming --only paths..." msgstr "Chemins explicites spécifiés sans -i ni -o ; --only supposé..." #: builtin/commit.c:1136 builtin/tag.c:572
po/git.pot +3 -3
@@ -3598,13 +3598,13 @@ msgstr "" #: builtin/clean.c:906 msgid "" -"clean.requireForce set to true and neither -i, -n nor -f given; refusing to " +"clean.requireForce set to true and neither -i, -n, or -f given; refusing to " "clean" msgstr "" #: builtin/clean.c:909 msgid "" -"clean.requireForce defaults to true and neither -i, -n nor -f given; " +"clean.requireForce defaults to true and neither -i, -n, or -f given; " "refusing to clean" msgstr ""
@@ -4150,7 +4150,7 @@ msgid "Clever... amending the last one with dirty index." msgstr "" #: builtin/commit.c:1126 -msgid "Explicit paths specified without -i nor -o; assuming --only paths..." +msgid "Explicit paths specified without -i or -o; assuming --only paths..." msgstr "" #: builtin/commit.c:1136 builtin/tag.c:572
po/it.po +1 -1
@@ -2316,7 +2316,7 @@ msgid "Clever... amending the last one with dirty index." msgstr "" #: builtin/commit.c:1059 -msgid "Explicit paths specified without -i nor -o; assuming --only paths..." +msgid "Explicit paths specified without -i or -o; assuming --only paths..." msgstr "" #: builtin/commit.c:1069 builtin/tag.c:577
po/pt_PT.po +1 -1
@@ -2153,7 +2153,7 @@ msgid "Clever... amending the last one with dirty index." msgstr "" #: builtin/commit.c:1116 -msgid "Explicit paths specified without -i nor -o; assuming --only paths..." +msgid "Explicit paths specified without -i or -o; assuming --only paths..." msgstr "" #: builtin/commit.c:1126
po/sv.po +3 -3
@@ -3773,7 +3773,7 @@ msgstr "-x och -X kan inte användas samtidigt" #: builtin/clean.c:906 msgid "" -"clean.requireForce set to true and neither -i, -n nor -f given; refusing to " +"clean.requireForce set to true and neither -i, -n, nor -f given; refusing to " "clean" msgstr "" "clean.requireForce satt till true, men varken -i, -n eller -f angavs; vägrar "
@@ -3781,7 +3781,7 @@ msgstr "" #: builtin/clean.c:909 msgid "" -"clean.requireForce defaults to true and neither -i, -n nor -f given; " +"clean.requireForce defaults to true and neither -i, -n, nor -f given; " "refusing to clean" msgstr "" "clean.requireForce har standardvärdet true och varken -i, -n eller -f "
@@ -4375,7 +4375,7 @@ msgid "Clever... amending the last one with dirty index." msgstr "Smart... utöka den senaste med smutsigt index." #: builtin/commit.c:1126 -msgid "Explicit paths specified without -i nor -o; assuming --only paths..." +msgid "Explicit paths specified without -i or -o; assuming --only paths..." msgstr "Explicita sökvägar angavs utan -i eller -o; antar --only sökvägar..." #: builtin/commit.c:1136 builtin/tag.c:572
po/vi.po +3 -3
@@ -3842,7 +3842,7 @@ msgstr "-x và -X không thể dùng cùng một lúc với nhau" #: builtin/clean.c:906 msgid "" -"clean.requireForce set to true and neither -i, -n nor -f given; refusing to " +"clean.requireForce set to true and neither -i, -n, nor -f given; refusing to " "clean" msgstr "" "clean.requireForce được đặt thành true và không đưa ra tùy chọn -n mà cũng "
@@ -3850,7 +3850,7 @@ msgstr "" #: builtin/clean.c:909 msgid "" -"clean.requireForce defaults to true and neither -i, -n nor -f given; " +"clean.requireForce defaults to true and neither -i, -n, nor -f given; " "refusing to clean" msgstr "" "clean.requireForce mặc định được đặt là true và không đưa ra tùy chọn -n mà "
@@ -4460,7 +4460,7 @@ msgid "Clever... amending the last one with dirty index." msgstr "Giỏi... “tu bổ” cái cuối với bảng mục lục bẩn." #: builtin/commit.c:1126 -msgid "Explicit paths specified without -i nor -o; assuming --only paths..." +msgid "Explicit paths specified without -i or -o; assuming --only paths..." msgstr "" "Những đường dẫn rõ ràng được chỉ ra không có tùy chọn -i cũng không -o; đang " "giả định --only những-đường-dẫn..."
po/zh_CN.po +3 -3
@@ -3778,14 +3778,14 @@ msgstr "-x 和 -X 不能同时使用" #: builtin/clean.c:906 msgid "" -"clean.requireForce set to true and neither -i, -n nor -f given; refusing to " +"clean.requireForce set to true and neither -i, -n, nor -f given; refusing to " "clean" msgstr "" "clean.requireForce 设置为 true 且未提供 -i、-n 或 -f 选项,拒绝执行清理动作" #: builtin/clean.c:909 msgid "" -"clean.requireForce defaults to true and neither -i, -n nor -f given; " +"clean.requireForce defaults to true and neither -i, -n, nor -f given; " "refusing to clean" msgstr "" "clean.requireForce 默认为 true 且未提供 -i、-n 或 -f 选项,拒绝执行清理动作"
@@ -4371,7 +4371,7 @@ msgid "Clever... amending the last one with dirty index." msgstr "聪明... 在索引不干净下修补最后的提交。" #: builtin/commit.c:1126 -msgid "Explicit paths specified without -i nor -o; assuming --only paths..." +msgid "Explicit paths specified without -i or -o; assuming --only paths..." msgstr "指定了明确的路径而没有使用 -i 或 -o 选项;认为是 --only paths..." #: builtin/commit.c:1136 builtin/tag.c:572
Signature · 1 line
1.9.0.279.gdc9e3eb
Re: [PATCH 3/6] l10n: Fix misuses of "nor"
2014-03-15 16:41 GMT+08:00 Justin Lebar <[email protected]>:
Quoted 18 lines
Signed-off-by Justin Lebar <[email protected]>--- po/bg.po | 6 +++--- po/de.po | 6 +++--- po/fr.po | 6 +++--- po/git.pot | 6 +++--- po/it.po | 2 +- po/pt_PT.po | 2 +- po/sv.po | 6 +++--- po/vi.po | 6 +++--- po/zh_CN.po | 6 +++--- 9 files changed, 23 insertions(+), 23 deletions(-)po/bg.po +0
-0
po/bg.po msgstr "" · line 3705
Quoted 8 lines
po/bg.po +1
-1@@ -3699,13 +3699,13 @@ msgstr "" #: builtin/clean.c:906 msgid "" -"clean.requireForce set to true and neither -i, -n nor -f given; refusing to " +"clean.requireForce set to true and neither -i, -n, nor -f given; refusing to " "clean" msgstr ""
Hi Justin,
All the msgids you patched are extracted from Git source code using gettext, So please patch the original files where the msgids are came from, such as builtin/clean.c.
Signature · 1 line
Jiang Xin
Re: [PATCH 3/6] l10n: Fix misuses of "nor"
Thanks. I'll remove this patch from the queue.
Quoted 37 lines · Jiang Xin
2014-03-15 16:41 GMT+08:00 Justin Lebar <[email protected]>:
Quoted 18 lines
Signed-off-by Justin Lebar <[email protected]>--- po/bg.po | 6 +++--- po/de.po | 6 +++--- po/fr.po | 6 +++--- po/git.pot | 6 +++--- po/it.po | 2 +- po/pt_PT.po | 2 +- po/sv.po | 6 +++--- po/vi.po | 6 +++--- po/zh_CN.po | 6 +++--- 9 files changed, 23 insertions(+), 23 deletions(-)po/bg.po +0
-0po/bg.po msgstr "" · line 3705
Quoted 8 lines
po/bg.po +1
-1@@ -3699,13 +3699,13 @@ msgstr "" #: builtin/clean.c:906 msgid "" -"clean.requireForce set to true and neither -i, -n nor -f given; refusing to " +"clean.requireForce set to true and neither -i, -n, nor -f given; refusing to " "clean" msgstr ""Hi Justin,
All the msgids you patched are extracted from Git source code using gettext, So please patch the original files where the msgids are came from, such as
builtin/clean.c.--
Jiang Xin
PATCH 4/6 Fix misuses of "nor" in comments
In reply to Justin Lebar--- Makefile | 2 +- builtin/apply.c | 2 +- builtin/checkout.c | 2 +- builtin/log.c | 2 +- builtin/pack-objects.c | 2 +- builtin/reset.c | 4 ++-- builtin/show-branch.c | 2 +- column.c | 2 +- contrib/examples/git-checkout.sh | 2 +- contrib/examples/git-reset.sh | 4 ++-- contrib/fast-import/import-directories.perl | 4 ++-- delta.h | 2 +- diff.c | 2 +- git-am.sh | 2 +- gitweb/gitweb.perl | 2 +- http.h | 4 ++-- perl/Git/SVN.pm | 2 +- perl/Git/SVN/Migration.pm | 2 +- pkt-line.h | 2 +- remote.c | 2 +- sha1_file.c | 2 +- test-chmtime.c | 2 +- 22 files changed, 26 insertions(+), 26 deletions(-)
Makefile +1 -1
@@ -159,7 +159,7 @@ all:: # # Define NEEDS_LIBINTL_BEFORE_LIBICONV if you need libintl before libiconv. # -# Define NO_INTPTR_T if you don't have intptr_t nor uintptr_t. +# Define NO_INTPTR_T if you don't have intptr_t or uintptr_t. # # Define NO_UINTMAX_T if you don't have uintmax_t. #
builtin/apply.c +1 -1
@@ -4061,7 +4061,7 @@ static int write_out_one_reject(struct patch *patch)return error (_ ("cannot open %s: %s" ), namebuf,strerror (errno));/* Normal git tools never deal with .rej, so do not pretend -* this is a git patch by saying --git nor give extended +* this is a git patch by saying --git or giving extended * headers. While at it, maybe please "kompare" that wants * the trailing TAB and some garbage at the end of line ;-). */
builtin/checkout.c +1 -1
@@ -896,7 +896,7 @@ static int parse_branchname_arg(int argc, const char **argv,* between A and B, A...B names that merge base. * * (b) If <something> is _not_ a commit, either "--" is present -* or <something> is not a path, no -t nor -b was given, and +* or <something> is not a path, no -t or -b was given, and * and there is a tracking branch whose name is <something> * in one and only one remote, then this is a short-hand to * fork local <something> from that remote-tracking branch.
builtin/log.c +1 -1
@@ -503,7 +503,7 @@ static void show_rev_tweak_rev(struct rev_info *rev, struct setup_revision_opt */* There was no "-m" on the command line */ rev->ignore_merges =0 ;if (!rev->first_parent_only && !rev->combine_merges) { -/* No "--first-parent", "-c", nor "--cc" */ +/* No "--first-parent", "-c", or "--cc" */ rev->combine_merges =1 ; rev->dense_combined_merges =1 ; }
builtin/pack-objects.c +1 -1
@@ -999,7 +999,7 @@ static int pbase_tree_cache_ix_incr(int ix) static struct pbase_tree { struct pbase_tree *next; /* This is a phony "cache" entry; we are not - * going to evict it nor find it through _get() + * going to evict it or find it through _get() * mechanism -- this is for the toplevel node that * would almost always change with any commit. */
builtin/reset.c +2 -2
@@ -309,7 +309,7 @@ int cmd_reset(int argc, const char **argv, const char *prefix)/* git reset tree [--] paths... can be used to * load chosen paths from the tree into the index without -* affecting the working tree nor HEAD. */ +* affecting the working tree or HEAD. */ if (pathspec.nr) {if (reset_type ==MIXED )warning (_ ("--mixed with paths is deprecated; use 'git reset -- <paths>' instead." ));
@@ -327,7 +327,7 @@ int cmd_reset(int argc, const char **argv, const char *prefix)die (_ ("%s reset is not allowed in a bare repository" ),_ (reset_type_names[reset_type])); -/* Soft reset does not touch the index file nor the working tree +/* Soft reset does not touch the index file or the working tree * at all, but requires them in a good order. Other resets reset * the index file to the tree object we are switching to. */ if (reset_type ==SOFT || reset_type ==KEEP )
builtin/show-branch.c +1 -1
@@ -698,7 +698,7 @@ int cmd_show_branch(int ac, const char **av, const char *prefix)if (extra || reflog) {/* "listing" mode is incompatible with -* independent nor merge-base modes. +* independent and merge-base modes. */ if (independent || merge_base) usage_with_options(show_branch_usage,
column.c +1 -1
@@ -311,7 +311,7 @@ static int parse_config(unsigned int *colopts, const char *value) value +=strspn (value, sep); }/* -* Setting layout implies "always" if neither always, never +* Setting layout implies "always" if neither always, never, * nor auto is specified. * * Current value in COL_ENABLE_MASK is disregarded. This means if
contrib/examples/git-checkout.sh +1 -1
@@ -168,7 +168,7 @@ cd_to_toplevel # branch. However, if "git checkout HEAD" detaches the HEAD # from the current branch, even though that may be logically # correct, it feels somewhat funny. More importantly, we do not -# want "git checkout" nor "git checkout -f" to detach HEAD. +# want "git checkout" or "git checkout -f" to detach HEAD. detached= detach_warn=
contrib/examples/git-reset.sh +2 -2
@@ -40,7 +40,7 @@ case "$1" in --) shift ;; esac # git reset --mixed tree [--] paths... can be used to # load chosen paths from the tree into the index without -# affecting the working tree nor HEAD. +# affecting the working tree or HEAD. if test $# != 0 then test "$reset_type" = "--mixed" ||
@@ -60,7 +60,7 @@ then update=-u fi -# Soft reset does not touch the index file nor the working tree +# Soft reset does not touch the index file or the working tree # at all, but requires them in a good order. Other resets reset # the index file to the tree object we are switching to. if test "$reset_type" = "--soft"
contrib/fast-import/import-directories.perl +2 -2
@@ -109,8 +109,8 @@ was available previously is not included in this revision, it will be removed. If an on-disk revision is incomplete, you can point to files from -a previous revision. There are no restriction as to where the source -files are located, nor to the names of them. +a previous revision. There are no restrictions on where the source +files are located, nor on their names. [3.files] ; the key is the path inside the repository, the value is the path
delta.h +1 -1
@@ -9,7 +9,7 @@ struct delta_index;* * This returns a pointer to a struct delta_index that should be passed to * subsequent create_delta() calls, or to free_delta_index(). A NULL pointer -* is returned on failure. The given buffer must not be freed nor altered +* is returned on failure. The given buffer must not be freed or altered * before free_delta_index() is called. The returned pointer must be freed * using free_delta_index(). */
diff.c +1 -1
@@ -3941,7 +3941,7 @@ static int diff_scoreopt_parse(const char *opt) } }if (cmd !='M' && cmd !='C' && cmd !='B' ) -return -1 ;/* that is not a -M, -C nor -B option */ +return -1 ;/* that is not a -M, -C, or -B option */ opt1 =parse_rename_score (&opt);if (cmd !='B' )
git-am.sh +1 -1
@@ -523,7 +523,7 @@ Use \"git am --abort\" to remove it.")" esac fi - # Make sure we are not given --skip, --continue, nor --abort + # Make sure we are not given --skip, --continue, or --abort test "$skip$resolved$abort" = "" || die "$(gettext "Resolve operation not in progress, we are not resuming.")"
gitweb/gitweb.perl +1 -1
@@ -1490,7 +1490,7 @@ sub is_valid_pathname { my $input = shift; return undef unless defined $input; - # no '.' or '..' as elements of path, i.e. no '.' nor '..' + # no '.' or '..' as elements of path, i.e. no '.' or '..' # at the beginning, at the end, and between slashes. # also this catches doubled slashes if ($input =~ m!(^|/)(|\.|\.\.)(/|$)!) {
http.h +2 -2
@@ -13,8 +13,8 @@/* * We detect based on the cURL version if multi-transfer is * usable in this implementation and define this symbol accordingly. -* This is not something Makefile should set nor users should pass -* via CFLAGS. +* This is not something Makefile should set nor something users should +* pass via CFLAGS. */ #undef USE_CURL_MULTI
perl/Git/SVN.pm +1 -1
@@ -1191,7 +1191,7 @@ sub do_fetch { # we can have a branch that was deleted, then re-added # under the same name but copied from another path, in # which case we'll have multiple parents (we don't - # want to break the original ref, nor lose copypath info): + # want to break the original ref or lose copypath info): if (my $log_entry = $self->find_parent_branch($paths, $rev)) { push @{$log_entry->{parents}}, $lc; return $log_entry;
perl/Git/SVN/Migration.pm +1 -1
@@ -1,6 +1,6 @@ package Git::SVN::Migration; # these version numbers do NOT correspond to actual version numbers -# of git nor git-svn. They are just relative. +# of git or git-svn. They are just relative. # # v0 layout: .git/$id/info/url, refs/heads/$id-HEAD #
pkt-line.h +1 -1
@@ -28,7 +28,7 @@ void packet_buf_write(struct strbuf *buf, const char *fmt, ...) __attribute__((f* Read a packetized line into the buffer, which must be at least size bytes * long. The return value specifies the number of bytes read into the buffer. * -* If src_buffer is not NULL (and nor is *src_buffer), it should point to a +* If src_buffer is not NULL (and neither is *src_buffer), it should point to a * buffer containing the packet data to parse, of at least *src_len bytes. * After the function returns, src_buf will be incremented and src_len * decremented by the number of bytes consumed.
remote.c +1 -1
@@ -1404,7 +1404,7 @@ int match_push_refs(struct ref *src, struct ref **dst,/* * Remote doesn't have it, and we have no * explicit pattern, and we don't have -* --all nor --mirror. +* --all or --mirror. */ goto free_name;
sha1_file.c +1 -1
@@ -787,7 +787,7 @@ void close_pack_index(struct packed_git *p)* contain the same set of objects as an existing one. In that case * the resulting file might be different even if its name would be the * same. It is best to close any reference to the old pack before it is -* replaced on disk. Of course no index pointers nor windows for given pack +* replaced on disk. Of course no index pointers or windows for given pack * must subsist at this point. If ever objects from this pack are requested * again, the new version of the pack will be reinitialized through * reprepare_packed_git().
test-chmtime.c +1 -1
@@ -1,6 +1,6 @@/* * This program can either change modification time of the given -* file(s) or just print it. The program does not change atime nor +* file(s) or just print it. The program does not change atime or * ctime (their values are explicitly preserved). * * The mtime can be changed to an absolute value:
Signature · 1 line
1.9.0.279.gdc9e3eb
PATCH 6/6 Tests: Fix misuses of "nor"
In reply to Justin Lebar--- t/t1001-read-tree-m-2way.sh | 2 +- t/t4005-diff-rename-2.sh | 2 +- t/t4009-diff-rename-4.sh | 2 +- t/t5304-prune.sh | 2 +- t/t6036-recursive-corner-cases.sh | 2 +- t/t7104-reset.sh | 2 +- t/t9400-git-cvsserver-server.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)
t/t1001-read-tree-m-2way.sh +1 -1
@@ -18,7 +18,7 @@ In the test, these paths are used: frotz - not in H added in M nitfol - in H, stays in M unmodified rezrov - in H, deleted in M - yomin - not in H nor M + yomin - not in H or M ' . ./test-lib.sh . "$TEST_DIRECTORY"/lib-read-tree.sh
t/t4005-diff-rename-2.sh +1 -1
@@ -66,7 +66,7 @@ test_expect_success \ # tree has COPYING and rezrov. work tree has the same COPYING and # copy-edited COPYING.1, and unchanged rezrov. We should not say -# anything about rezrov nor COPYING, since the revised again diff-raw +# anything about rezrov or COPYING, since the revised again diff-raw # nows how to say Copy. test_expect_success \
t/t4009-diff-rename-4.sh +1 -1
@@ -73,7 +73,7 @@ test_expect_success \ # tree has COPYING and rezrov. work tree has the same COPYING and # copy-edited COPYING.1, and unchanged rezrov. We should not say -# anything about rezrov nor COPYING, since the revised again diff-raw +# anything about rezrov or COPYING, since the revised again diff-raw # nows how to say Copy. test_expect_success \
t/t5304-prune.sh +1 -1
@@ -213,7 +213,7 @@ test_expect_success 'garbage report in count-objects -v' ' warning: garbage found: .git/objects/pack/fake.bar warning: garbage found: .git/objects/pack/foo warning: garbage found: .git/objects/pack/foo.bar -warning: no corresponding .idx nor .pack: .git/objects/pack/fake2.keep +warning: no corresponding .idx or .pack: .git/objects/pack/fake2.keep warning: no corresponding .idx: .git/objects/pack/foo.keep warning: no corresponding .idx: .git/objects/pack/foo.pack warning: no corresponding .pack: .git/objects/pack/fake3.idx
t/t6036-recursive-corner-cases.sh +1 -1
@@ -388,7 +388,7 @@ test_expect_failure 'git detects conflict w/ criss-cross+contrived resolution' ' # # criss-cross + d/f conflict via add/add: -# Commit A: Neither file 'a' nor directory 'a/' exist. +# Commit A: Neither file 'a' nor directory 'a/' exists. # Commit B: Introduce 'a' # Commit C: Introduce 'a/file' # Commit D: Merge B & C, keeping 'a' and deleting 'a/'
t/t7104-reset.sh +1 -1
@@ -33,7 +33,7 @@ test_expect_success 'reset --hard should restore unmerged ones' ' ' -test_expect_success 'reset --hard did not corrupt index nor cached-tree' ' +test_expect_success 'reset --hard did not corrupt index or cached-tree' ' T=$(git write-tree) && rm -f .git/index &&
t/t9400-git-cvsserver-server.sh +1 -1
@@ -512,7 +512,7 @@ test_expect_success 'cvs co -c (shows module database)' ' # Known issues with git-cvsserver current log output: # - Hard coded "lines: +2 -3" placeholder, instead of real numbers. # - CVS normally does not internally add a blank first line -# nor a last line with nothing but a space to log messages. +# or a last line with nothing but a space to log messages. # - The latest cvs 1.12.x server sends +0000 timezone (with some hidden "MT" # tagging in the protocol), and if cvs 1.12.x client sees the MT tags, # it converts to local time zone. git-cvsserver doesn't do the +0000
Signature · 1 line
1.9.0.279.gdc9e3eb
Quoted 5 lines · Justin Lebar
I got annoyed by git's awkward use of "nor" in man pages and in git add -p, so I went ahead and audited all uses of "nor" in the tree. One might be able to argue that some of the uses I've changed are technically acceptable, but that's a pretty low bar to set for ourselves. I aimed to make everything both correct and idiomatic.
I guess I'm cc'd because I made a few of those or/nor mistakes. Being a non-native English speaker I'm not really qualified to review this. But I suggest that you merge "Fix misuses of "nor" outside comments" and "Tests: Fix muses of "nor"" into one. Otherwise you break the test suite at 5/6 (and 6/6 fixes it, but breaking the test suite at any commit is not very bisect-friendly).
Signature · 1 line
Duy
Quoted 1 line
I guess I'm cc'd because I made a few of those or/nor mistakes.
I actually didn't look that closely at the blame; I cc'ed you because you were a top contributor in a few of the directories I was touching.
Quoted 3 lines
I suggest that you merge "Fix misuses of "nor" outside comments" and "Tests: Fix muses of "nor"" into one. Otherwise you break the test suite at 5/6
Sure thing, will do.
There's a similar incompatibility with the l10n change and "Fix misuses of "nor" outside comments": The former references strings changed in the latter. Should I merge these, or should I enforce a particular ordering between these patches? (Right now the l10n patch comes before the string changes in the code, but that's probably wrong now that I think about it.)
Quoted 1 line
Being a non-native English speaker I'm not really qualified to review this.
FWIW even being a native English speaker I was unsure about a few of the changes myself. This caused me to finally break down and order Garner's Modern American Usage, which I hope will reveal all. :)
-Justin
Quoted 15 lines · Duy Nguyen
Quoted 5 lines · Justin Lebar
I got annoyed by git's awkward use of "nor" in man pages and in git add -p, so I went ahead and audited all uses of "nor" in the tree. One might be able to argue that some of the uses I've changed are technically acceptable, but that's a pretty low bar to set for ourselves. I aimed to make everything both correct and idiomatic.
I guess I'm cc'd because I made a few of those or/nor mistakes. Being a non-native English speaker I'm not really qualified to review this. But I suggest that you merge "Fix misuses of "nor" outside comments" and "Tests: Fix muses of "nor"" into one. Otherwise you break the test suite at 5/6 (and 6/6 fixes it, but breaking the test suite at any commit is not very bisect-friendly).
--
Duy
Quoted 6 lines · Justin Lebar
There's a similar incompatibility with the l10n change and "Fix misuses of "nor" outside comments": The former references strings changed in the latter. Should I merge these, or should I enforce a particular ordering between these patches? (Right now the l10n patch comes before the string changes in the code, but that's probably wrong now that I think about it.)
I think you can drop the l10n patch. After the source code is updated, new .pot will be generated (probably by Jiang) and .po also automatically updated. Updated strings in .po are most likely marked "fuzzy" so translators can double check. So you changes in the source code will be propagated to .po eventually.
Signature · 1 line
Duy