Skip to content

Commit a4a227a

Browse files
committed
Merge branch 'mi/typofixes' into maint
* mi/typofixes: contrib: typofixes Documentation/technical/http-protocol.txt: typofixes typofixes: fix misspelt comments
2 parents a5d5653 + 68840cb commit a4a227a

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

Documentation/technical/http-protocol.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Clients MUST first perform ref discovery with
307307
S: ....ACK %s, continue
308308
S: ....NAK
309309

310-
Clients MUST NOT reuse or revalidate a cached reponse.
310+
Clients MUST NOT reuse or revalidate a cached response.
311311
Servers MUST include sufficient Cache-Control headers
312312
to prevent caching of the response.
313313

@@ -468,7 +468,7 @@ Clients MUST first perform ref discovery with
468468
S:
469469
S: ....
470470

471-
Clients MUST NOT reuse or revalidate a cached reponse.
471+
Clients MUST NOT reuse or revalidate a cached response.
472472
Servers MUST include sufficient Cache-Control headers
473473
to prevent caching of the response.
474474

contrib/gitview/gitview

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ class GitView(object):
12051205

12061206
#The first parent always continue on the same line
12071207
try:
1208-
# check we alreay have the value
1208+
# check we already have the value
12091209
tmp_node_pos = self.nodepos[commit.parent_sha1[0]]
12101210
except KeyError:
12111211
self.colours[commit.parent_sha1[0]] = colour

contrib/mw-to-git/git-remote-mediawiki.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ sub get_mw_namespace_id {
13151315
# Store "notANameSpace" as special value for inexisting namespaces
13161316
my $store_id = ($id || 'notANameSpace');
13171317

1318-
# Store explicitely requested namespaces on disk
1318+
# Store explicitly requested namespaces on disk
13191319
if (!exists $cached_mw_namespace_id{$name}) {
13201320
run_git(qq(config --add remote.${remotename}.namespaceCache "${name}:${store_id}"));
13211321
$cached_mw_namespace_id{$name} = 1;

contrib/mw-to-git/t/test-gitmw-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ test_diff_directories () {
9191
# Check that <dir> contains exactly <N> files
9292
test_contains_N_files () {
9393
if test `ls -- "$1" | wc -l` -ne "$2"; then
94-
echo "directory $1 sould contain $2 files"
94+
echo "directory $1 should contain $2 files"
9595
echo "it contains these files:"
9696
ls "$1"
9797
false

contrib/mw-to-git/t/test.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SERVER_ADDR=localhost
1212
TMP=/tmp
1313
DB_FILE=wikidb.sqlite
1414

15-
# If LIGHTTPD is not set to true, the script will use the defaut
15+
# If LIGHTTPD is not set to true, the script will use the default
1616
# web server running in WIKI_DIR_INST.
1717
WIKI_DIR_INST=/var/www
1818

git-bisect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ bisect_start() {
137137
# cogito usage, and cogito users should understand
138138
# it relates to cg-seek.
139139
[ -s "$GIT_DIR/head-name" ] &&
140-
die "$(gettext "won't bisect on seeked tree")"
140+
die "$(gettext "won't bisect on cg-seek'ed tree")"
141141
start_head="${head#refs/heads/}"
142142
;;
143143
*)

pathspec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ static unsigned prefix_pathspec(struct pathspec_item *item,
197197
magic |= short_magic;
198198
*p_short_magic = short_magic;
199199

200-
/* --noglob-pathspec adds :(literal) _unless_ :(glob) is specifed */
200+
/* --noglob-pathspec adds :(literal) _unless_ :(glob) is specified */
201201
if (noglob_global && !(magic & PATHSPEC_GLOB))
202202
global_magic |= PATHSPEC_LITERAL;
203203

204-
/* --glob-pathspec is overriden by :(literal) */
204+
/* --glob-pathspec is overridden by :(literal) */
205205
if ((global_magic & PATHSPEC_GLOB) && (magic & PATHSPEC_LITERAL))
206206
global_magic &= ~PATHSPEC_GLOB;
207207

wrapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void *xcalloc(size_t nmemb, size_t size)
133133
/*
134134
* Limit size of IO chunks, because huge chunks only cause pain. OS X
135135
* 64-bit is buggy, returning EINVAL if len >= INT_MAX; and even in
136-
* the absense of bugs, large chunks can result in bad latencies when
136+
* the absence of bugs, large chunks can result in bad latencies when
137137
* you decide to kill the process.
138138
*/
139139
#define MAX_IO_SIZE (8*1024*1024)

0 commit comments

Comments
 (0)