Skip to content

Commit 07cb9a3

Browse files
committed
Merge branch 'jc/typo' into maint
* jc/typo: Typofixes outside documentation area
2 parents d3f6976 + 9517e6b commit 07cb9a3

17 files changed

+20
-19
lines changed

builtin-apply.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ static int find_pos(struct image *img,
20062006
return -1;
20072007

20082008
/*
2009-
* If match_begining or match_end is specified, there is no
2009+
* If match_beginning or match_end is specified, there is no
20102010
* point starting from a wrong line that will never match and
20112011
* wander around and wait for a match at the specified end.
20122012
*/

builtin-cat-file.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,10 @@ int cmd_cat_file(int argc, const char **argv, const char *prefix)
219219
"exit with zero when there's no error", 'e'),
220220
OPT_SET_INT('p', NULL, &opt, "pretty-print object's content", 'p'),
221221
OPT_SET_INT(0, "batch", &batch,
222-
"show info and content of objects feeded on stdin", BATCH),
222+
"show info and content of objects fed from the standard input",
223+
BATCH),
223224
OPT_SET_INT(0, "batch-check", &batch,
224-
"show info about objects feeded on stdin",
225+
"show info about objects fed from the standard input",
225226
BATCH_CHECK),
226227
OPT_END()
227228
};

builtin-log.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
10891089

10901090
/*
10911091
* We cannot move this anywhere earlier because we do want to
1092-
* know if --root was given explicitly from the comand line.
1092+
* know if --root was given explicitly from the command line.
10931093
*/
10941094
rev.show_root_diff = 1;
10951095

builtin-prune.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static void prune_object_dir(const char *path)
106106
/*
107107
* Write errors (particularly out of space) can result in
108108
* failed temporary packs (and more rarely indexes and other
109-
* files begining with "tmp_") accumulating in the object
109+
* files beginning with "tmp_") accumulating in the object
110110
* and the pack directories.
111111
*/
112112
static void remove_temporary_files(const char *path)

builtin-show-branch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ static int git_show_branch_config(const char *var, const char *value, void *cb)
567567
return config_error_nonbool(var);
568568
/*
569569
* default_arg is now passed to parse_options(), so we need to
570-
* mimick the real argv a bit better.
570+
* mimic the real argv a bit better.
571571
*/
572572
if (!default_num) {
573573
default_alloc = 20;

compat/win32/pthread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (C) 2009 Andrzej K. Haczewski <[email protected]>
33
*
4-
* DISCLAMER: The implementation is Git-specific, it is subset of original
4+
* DISCLAIMER: The implementation is Git-specific, it is subset of original
55
* Pthreads API, without lots of other features that Git doesn't use.
66
* Git also makes sure that the passed arguments are valid, so there's
77
* no need for double-checking.

connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ struct child_process *git_connect(int fd[2], const char *url_orig,
504504

505505
/*
506506
* Don't do destructive transforms with git:// as that
507-
* protocol code does '[]' dewrapping of its own.
507+
* protocol code does '[]' unwrapping of its own.
508508
*/
509509
if (host[0] == '[') {
510510
end = strchr(host + 1, ']');

contrib/fast-import/import-directories.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ =head2 Escaping special characters
344344
345345
Key and value strings may be enclosed in quotes, in which case
346346
whitespace inside the quotes is preserved. Additionally, an equal
347-
sign may be included in the key by preceeding it with a backslash.
347+
sign may be included in the key by preceding it with a backslash.
348348
For example:
349349
350350
"key1 "=value1

daemon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ static void parse_host_and_port(char *hostport, char **host,
407407

408408
end = strchr(hostport, ']');
409409
if (!end)
410-
die("Invalid reqeuest ('[' without ']')");
410+
die("Invalid request ('[' without ']')");
411411
*end = '\0';
412412
*host = hostport + 1;
413413
if (!end[1])

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3644,7 +3644,7 @@ static void diffcore_skip_stat_unmatch(struct diff_options *diffopt)
36443644
struct diff_filepair *p = q->queue[i];
36453645

36463646
/*
3647-
* 1. Entries that come from stat info dirtyness
3647+
* 1. Entries that come from stat info dirtiness
36483648
* always have both sides (iow, not create/delete),
36493649
* one side of the object name is unknown, with
36503650
* the same mode and size. Keep the ones that

0 commit comments

Comments
 (0)