Skip to content

Commit d07211b

Browse files
committed
Merge branch 'lp/typofixes' into maint
Typofixes. * lp/typofixes: typofix: assorted typofixes in comments, documentation and messages
2 parents 1f62b92 + 832c0e5 commit d07211b

File tree

12 files changed

+14
-14
lines changed

12 files changed

+14
-14
lines changed

Documentation/technical/pack-protocol.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ Push Certificate
526526

527527
A push certificate begins with a set of header lines. After the
528528
header and an empty line, the protocol commands follow, one per
529-
line. Note that the the trailing LF in push-cert PKT-LINEs is _not_
529+
line. Note that the trailing LF in push-cert PKT-LINEs is _not_
530530
optional; it must be present.
531531

532532
Currently, the following header fields are defined:

builtin/remote-ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ static int command_loop(const char *child)
168168
size_t i;
169169
if (!fgets(buffer, MAXCOMMAND - 1, stdin)) {
170170
if (ferror(stdin))
171-
die("Comammand input error");
171+
die("Command input error");
172172
exit(0);
173173
}
174174
/* Strip end of line characters. */

compat/precompose_utf8.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ struct dirent_prec_psx *precompose_utf8_readdir(PREC_DIR *prec_dir)
147147
if (errno || inleft) {
148148
/*
149149
* iconv() failed and errno could be E2BIG, EILSEQ, EINVAL, EBADF
150-
* MacOS X avoids illegal byte sequemces.
150+
* MacOS X avoids illegal byte sequences.
151151
* If they occur on a mounted drive (e.g. NFS) it is not worth to
152152
* die() for that, but rather let the user see the original name
153153
*/

git-cvsserver.perl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ sub prepDirForOutput
11561156
# FUTURE: This would more accurately emulate CVS by sending
11571157
# another copy of sticky after processing the files in that
11581158
# directory. Or intermediate: perhaps send all sticky's for
1159-
# $seendirs after after processing all files.
1159+
# $seendirs after processing all files.
11601160
}
11611161

11621162
# update \n
@@ -2824,7 +2824,7 @@ sub statecleanup
28242824
}
28252825

28262826
# Return working directory CVS revision "1.X" out
2827-
# of the the working directory "entries" state, for the given filename.
2827+
# of the working directory "entries" state, for the given filename.
28282828
# This is prefixed with a dash if the file is scheduled for removal
28292829
# when it is committed.
28302830
sub revparse
@@ -2935,7 +2935,7 @@ sub filecleanup
29352935
return $filename;
29362936
}
29372937

2938-
# Remove prependdir from the path, so that is is relative to the directory
2938+
# Remove prependdir from the path, so that it is relative to the directory
29392939
# the CVS client was started from, rather than the top of the project.
29402940
# Essentially the inverse of filecleanup().
29412941
sub remove_prependdir

path.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static struct common_dir common_list[] = {
134134
* definite
135135
* definition
136136
*
137-
* The trie would look look like:
137+
* The trie would look like:
138138
* root: len = 0, children a and d non-NULL, value = NULL.
139139
* a: len = 2, contents = bc, value = (data for "abc")
140140
* d: len = 2, contents = ef, children i non-NULL, value = (data for "def")

perl/Git.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ sub command_close_pipe {
393393
Execute the given C<COMMAND> in the same way as command_output_pipe()
394394
does but return both an input pipe filehandle and an output pipe filehandle.
395395
396-
The function will return return C<($pid, $pipe_in, $pipe_out, $ctx)>.
396+
The function will return C<($pid, $pipe_in, $pipe_out, $ctx)>.
397397
See C<command_close_bidi_pipe()> for details.
398398
399399
=cut

split-index.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static void mark_base_index_entries(struct index_state *base)
6060
* To keep track of the shared entries between
6161
* istate->base->cache[] and istate->cache[], base entry
6262
* position is stored in each base entry. All positions start
63-
* from 1 instead of 0, which is resrved to say "this is a new
63+
* from 1 instead of 0, which is reserved to say "this is a new
6464
* entry".
6565
*/
6666
for (i = 0; i < base->cache_nr; i++)

t/t0000-basic.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ check_sub_test_lib_test () {
9898
}
9999

100100
check_sub_test_lib_test_err () {
101-
name="$1" # stdin is the expected output output from the test
101+
name="$1" # stdin is the expected output from the test
102102
# expected error output is in descriptior 3
103103
(
104104
cd "$name" &&

transport-helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ static void udt_close_if_finished(struct unidirectional_transfer *t)
11521152
}
11531153

11541154
/*
1155-
* Tries to read read data from source into buffer. If buffer is full,
1155+
* Tries to read data from source into buffer. If buffer is full,
11561156
* no data is read. Returns 0 on success, -1 on error.
11571157
*/
11581158
static int udt_do_read(struct unidirectional_transfer *t)

utf8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static inline char *reencode_string(const char *in,
4848
int mbs_chrlen(const char **text, size_t *remainder_p, const char *encoding);
4949

5050
/*
51-
* Returns true if the the path would match ".git" after HFS case-folding.
51+
* Returns true if the path would match ".git" after HFS case-folding.
5252
* The path should be NUL-terminated, but we will match variants of both ".git\0"
5353
* and ".git/..." (but _not_ ".../.git"). This makes it suitable for both fsck
5454
* and verify_path().

0 commit comments

Comments
 (0)