Skip to content

Commit 9f3d73e

Browse files
committed
Merge branch 'ah/misc-message-fixes' into maint
Message cleanup. * ah/misc-message-fixes: unpack-trees: do not capitalize "working" git-merge-octopus: do not capitalize "octopus" git-rebase--interactive: fix English grammar cat-file: put spaces around pipes in usage string am: put spaces around pipe in usage string
2 parents 0303939 + a1c8044 commit 9f3d73e

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

builtin/am.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2222,7 +2222,7 @@ int cmd_am(int argc, const char **argv, const char *prefix)
22222222
int in_progress;
22232223

22242224
const char * const usage[] = {
2225-
N_("git am [<options>] [(<mbox>|<Maildir>)...]"),
2225+
N_("git am [<options>] [(<mbox> | <Maildir>)...]"),
22262226
N_("git am [<options>] (--continue | --skip | --abort)"),
22272227
NULL
22282228
};

builtin/cat-file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ static int batch_objects(struct batch_options *opt)
440440
}
441441

442442
static const char * const cat_file_usage[] = {
443-
N_("git cat-file (-t [--allow-unknown-type]|-s [--allow-unknown-type]|-e|-p|<type>|--textconv) <object>"),
443+
N_("git cat-file (-t [--allow-unknown-type] | -s [--allow-unknown-type] | -e | -p | <type> | --textconv) <object>"),
444444
N_("git cat-file (--batch | --batch-check) [--follow-symlinks]"),
445445
NULL
446446
};

git-merge-octopus.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ do
3030
esac
3131
done
3232

33-
# Reject if this is not an Octopus -- resolve should be used instead.
33+
# Reject if this is not an octopus -- resolve should be used instead.
3434
case "$remotes" in
3535
?*' '?*)
3636
;;
@@ -59,7 +59,7 @@ do
5959
# conflicts. Last round failed and we still had
6060
# a head to merge.
6161
gettextln "Automated merge did not work."
62-
gettextln "Should not be doing an Octopus."
62+
gettextln "Should not be doing an octopus."
6363
exit 2
6464
esac
6565

git-rebase--interactive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ If they are meant to go into a new commit, run:
10821082
10831083
git commit \$gpg_sign_opt_quoted
10841084
1085-
In both case, once you're done, continue with:
1085+
In both cases, once you're done, continue with:
10861086
10871087
git rebase --continue
10881088
")"

unpack-trees.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
123123
msgs[ERROR_SPARSE_NOT_UPTODATE_FILE] =
124124
_("Cannot update sparse checkout: the following entries are not up-to-date:\n%s");
125125
msgs[ERROR_WOULD_LOSE_ORPHANED_OVERWRITTEN] =
126-
_("The following Working tree files would be overwritten by sparse checkout update:\n%s");
126+
_("The following working tree files would be overwritten by sparse checkout update:\n%s");
127127
msgs[ERROR_WOULD_LOSE_ORPHANED_REMOVED] =
128-
_("The following Working tree files would be removed by sparse checkout update:\n%s");
128+
_("The following working tree files would be removed by sparse checkout update:\n%s");
129129

130130
opts->show_all_errors = 1;
131131
/* rejected paths may not have a static buffer */

0 commit comments

Comments
 (0)