Merge branch 'mi/typofixes' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 17 Dec 2013 19:34:01 +0000 (11:34 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Dec 2013 19:34:01 +0000 (11:34 -0800)
* mi/typofixes:
contrib: typofixes
Documentation/technical/http-protocol.txt: typofixes
typofixes: fix misspelt comments

Documentation/technical/http-protocol.txt
contrib/gitview/gitview
contrib/mw-to-git/git-remote-mediawiki.perl
contrib/mw-to-git/t/test-gitmw-lib.sh
contrib/mw-to-git/t/test.config
git-bisect.sh
pathspec.c
wrapper.c
index caf941a1c52d843ac2335bd4f7a6df7fb0f4fcc8..d21d77d1deea538756c400a3438533a777af6861 100644 (file)
@@ -307,7 +307,7 @@ Clients MUST first perform ref discovery with
    S: ....ACK %s, continue
    S: ....NAK
 
-Clients MUST NOT reuse or revalidate a cached reponse.
+Clients MUST NOT reuse or revalidate a cached response.
 Servers MUST include sufficient Cache-Control headers
 to prevent caching of the response.
 
@@ -468,7 +468,7 @@ Clients MUST first perform ref discovery with
    S:
    S: ....
 
-Clients MUST NOT reuse or revalidate a cached reponse.
+Clients MUST NOT reuse or revalidate a cached response.
 Servers MUST include sufficient Cache-Control headers
 to prevent caching of the response.
 
index 4c99dfb9038ca034d86b72cbe342373d12ae8cc6..4e23c650fe6341737fa8fb36070ce7999ba1f54b 100755 (executable)
@@ -1205,7 +1205,7 @@ class GitView(object):
 
                #The first parent always continue on the same line
                try:
-                       # check we alreay have the value
+                       # check we already have the value
                        tmp_node_pos = self.nodepos[commit.parent_sha1[0]]
                except KeyError:
                        self.colours[commit.parent_sha1[0]] = colour
index 476e0a2bc02d0708e01c63f6e0fc524a840d4c77..3f8d993afaca53024aa75b4118da9ee80e6a6313 100755 (executable)
@@ -1315,7 +1315,7 @@ sub get_mw_namespace_id {
        # Store "notANameSpace" as special value for inexisting namespaces
        my $store_id = ($id || 'notANameSpace');
 
-       # Store explicitely requested namespaces on disk
+       # Store explicitly requested namespaces on disk
        if (!exists $cached_mw_namespace_id{$name}) {
                run_git(qq(config --add remote.${remotename}.namespaceCache "${name}:${store_id}"));
                $cached_mw_namespace_id{$name} = 1;
index ca6860ff301163201a484f4e5ca1348410304719..3372b2af346ac23a73a7723ac6d0c81fb8c5e705 100755 (executable)
@@ -91,7 +91,7 @@ test_diff_directories () {
 # Check that <dir> contains exactly <N> files
 test_contains_N_files () {
        if test `ls -- "$1" | wc -l` -ne "$2"; then
-               echo "directory $1 sould contain $2 files"
+               echo "directory $1 should contain $2 files"
                echo "it contains these files:"
                ls "$1"
                false
index 4cfebe9c69bda210ba8de6882a3ed269415de559..5ba0684162474091e419d201dfcf73abdacbc842 100644 (file)
@@ -12,7 +12,7 @@ SERVER_ADDR=localhost
 TMP=/tmp
 DB_FILE=wikidb.sqlite
 
-# If LIGHTTPD is not set to true, the script will use the defaut
+# If LIGHTTPD is not set to true, the script will use the default
 # web server running in WIKI_DIR_INST.
 WIKI_DIR_INST=/var/www
 
index 9f064b6f4f0c209a0315538e48049c2d013316df..73b4c14d4f631b811a20392684a87c6b97daedc7 100755 (executable)
@@ -137,7 +137,7 @@ bisect_start() {
                        # cogito usage, and cogito users should understand
                        # it relates to cg-seek.
                        [ -s "$GIT_DIR/head-name" ] &&
-                               die "$(gettext "won't bisect on seeked tree")"
+                               die "$(gettext "won't bisect on cg-seek'ed tree")"
                        start_head="${head#refs/heads/}"
                        ;;
                *)
index 4cf2bd365a3e5e7a43b5cc9a23de1a5d3aafdbcd..87b3b82f1fd9baee7758159e5e3119b6da0655e3 100644 (file)
@@ -197,11 +197,11 @@ static unsigned prefix_pathspec(struct pathspec_item *item,
        magic |= short_magic;
        *p_short_magic = short_magic;
 
-       /* --noglob-pathspec adds :(literal) _unless_ :(glob) is specifed */
+       /* --noglob-pathspec adds :(literal) _unless_ :(glob) is specified */
        if (noglob_global && !(magic & PATHSPEC_GLOB))
                global_magic |= PATHSPEC_LITERAL;
 
-       /* --glob-pathspec is overriden by :(literal) */
+       /* --glob-pathspec is overridden by :(literal) */
        if ((global_magic & PATHSPEC_GLOB) && (magic & PATHSPEC_LITERAL))
                global_magic &= ~PATHSPEC_GLOB;
 
index 9a6aaafaf35bbd6d2a7a97589edfd9b0b12102c7..0cc56368bd8ccef90ff643ce091cae25007eeee7 100644 (file)
--- a/wrapper.c
+++ b/wrapper.c
@@ -133,7 +133,7 @@ void *xcalloc(size_t nmemb, size_t size)
 /*
  * Limit size of IO chunks, because huge chunks only cause pain.  OS X
  * 64-bit is buggy, returning EINVAL if len >= INT_MAX; and even in
- * the absense of bugs, large chunks can result in bad latencies when
+ * the absence of bugs, large chunks can result in bad latencies when
  * you decide to kill the process.
  */
 #define MAX_IO_SIZE (8*1024*1024)