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"
This commit is contained in:
@ -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 ;-).
|
||||
*/
|
||||
|
@ -895,7 +895,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.
|
||||
|
@ -904,11 +904,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)
|
||||
|
@ -1128,7 +1128,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"))
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -1076,7 +1076,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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user