Spelling fixes

<BAD> <CORRECTED> accidently accidentally commited committed dependancy dependency emtpy empty existance existence explicitely explicitly git-upload-achive git-upload-archive hierachy hierarchy indegee indegree intial initial mulitple multiple non-existant non-existent precendence. precedence. priviledged privileged programatically programmatically psuedo-binary pseudo-binary soemwhere somewhere successfull successful transfering transferring uncommited uncommitted unkown unknown usefull useful writting writing Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ville Skyttä committed Aug 9, 2016 at 11:53 UTC 2e3a16b279a9df2e498187871c67e623e12bc8a4
25 files changed +33 -33
Documentation/RelNotes/2.3.10.txt
+1 -1
@@ -7,7 +7,7 @@ Fixes since v2.3.9
7 * xdiff code we use to generate diffs is not prepared to handle
8 extremely large files. It uses "int" in many places, which can
9 overflow if we have a very large number of lines or even bytes in
10 - our input files, for example. Cap the input size to soemwhere
10 + our input files, for example. Cap the input size to somewhere
11 around 1GB for now.
12
13 * Some protocols (like git-remote-ext) can execute arbitrary code
Documentation/RelNotes/2.4.10.txt
+1 -1
@@ -7,7 +7,7 @@ Fixes since v2.4.9
7 * xdiff code we use to generate diffs is not prepared to handle
8 extremely large files. It uses "int" in many places, which can
9 overflow if we have a very large number of lines or even bytes in
10 - our input files, for example. Cap the input size to soemwhere
10 + our input files, for example. Cap the input size to somewhere
11 around 1GB for now.
12
13 * Some protocols (like git-remote-ext) can execute arbitrary code
Documentation/RelNotes/2.5.4.txt
+1 -1
@@ -7,7 +7,7 @@ Fixes since v2.5.4
7 * xdiff code we use to generate diffs is not prepared to handle
8 extremely large files. It uses "int" in many places, which can
9 overflow if we have a very large number of lines or even bytes in
10 - our input files, for example. Cap the input size to soemwhere
10 + our input files, for example. Cap the input size to somewhere
11 around 1GB for now.
12
13 * Some protocols (like git-remote-ext) can execute arbitrary code
Documentation/RelNotes/2.6.1.txt
+1 -1
@@ -7,7 +7,7 @@ Fixes since v2.6
7 * xdiff code we use to generate diffs is not prepared to handle
8 extremely large files. It uses "int" in many places, which can
9 overflow if we have a very large number of lines or even bytes in
10 - our input files, for example. Cap the input size to soemwhere
10 + our input files, for example. Cap the input size to somewhere
11 around 1GB for now.
12
13 * Some protocols (like git-remote-ext) can execute arbitrary code
Documentation/git-remote-fd.txt
+1 -1
@@ -17,7 +17,7 @@ fetch, push or archive.
17
18 If only <infd> is given, it is assumed to be a bidirectional socket connected
19 to remote Git server (git-upload-pack, git-receive-pack or
20 -git-upload-achive). If both <infd> and <outfd> are given, they are assumed
20 +git-upload-archive). If both <infd> and <outfd> are given, they are assumed
21 to be pipes connected to a remote Git server (<infd> being the inbound pipe
22 and <outfd> being the outbound pipe.
23
Documentation/gitattributes.txt
+1 -1
@@ -133,7 +133,7 @@ Set to string value "auto"::
133 When `text` is set to "auto", the path is marked for automatic
134 end-of-line conversion. If Git decides that the content is
135 text, its line endings are converted to LF on checkin.
136 - When the file has been commited with CRLF, no conversion is done.
136 + When the file has been committed with CRLF, no conversion is done.
137
138 Unspecified::
139
Documentation/gitmodules.txt
+1 -1
@@ -81,7 +81,7 @@ submodule.<name>.ignore::
81
82 submodule.<name>.shallow::
83 When set to true, a clone of this submodule will be performed as a
84 - shallow clone unless the user explicitely asks for a non-shallow
84 + shallow clone unless the user explicitly asks for a non-shallow
85 clone.
86
87
commit-slab.h
+1 -1
@@ -8,7 +8,7 @@
8 *
9 * After including this header file, using:
10 *
11 - * define_commit_slab(indegee, int);
11 + * define_commit_slab(indegree, int);
12 *
13 * will let you call the following functions:
14 *
contrib/hooks/multimail/README
+2 -2
@@ -294,7 +294,7 @@ multimailhook.htmlInIntro, multimailhook.htmlInFooter
294 like ``<a href="foo">link</a>``, the reader will see the HTML
295 source code and not a proper link.
296
297 - Set ``multimailhook.htmlInIntro`` to true to allow writting HTML
297 + Set ``multimailhook.htmlInIntro`` to true to allow writing HTML
298 formatting in introduction templates. Similarly, set
299 ``multimailhook.htmlInFooter`` for HTML in the footer.
300
@@ -516,7 +516,7 @@ multimailhook.commitLogOpts
516
517 multimailhook.dateSubstitute
518 String to use as a substitute for ``Date:`` in the output of ``git
519 - log`` while formatting commit messages. This is usefull to avoid
519 + log`` while formatting commit messages. This is useful to avoid
520 emitting a line that can be interpreted by mailers as the start of
521 a cited message (Zimbra webmail in particular). Defaults to
522 ``CommitDate:``. Set to an empty string or ``none`` to deactivate
contrib/mw-to-git/.perlcriticrc
+1 -1
@@ -19,7 +19,7 @@
19 [InputOutput::RequireCheckedSyscalls]
20 functions = open say close
21
22 -# This rules demands to add a dependancy for the Readonly module. This is not
22 +# This rule demands to add a dependency for the Readonly module. This is not
23 # wished.
24 [-ValuesAndExpressions::ProhibitConstantPragma]
25
contrib/mw-to-git/git-remote-mediawiki.perl
+1 -1
@@ -963,7 +963,7 @@ sub mw_upload_file {
963 print {*STDERR} "Check the configuration of file uploads in your mediawiki.\n";
964 return $newrevid;
965 }
966 - # Deleting and uploading a file requires a priviledged user
966 + # Deleting and uploading a file requires a privileged user
967 if ($file_deleted) {
968 $mediawiki = connect_maybe($mediawiki, $remotename, $url);
969 my $query = {
contrib/subtree/t/t7900-subtree.sh
+1 -1
@@ -948,7 +948,7 @@ test_expect_success 'split a new subtree without --onto option' '
948
949 # also test that we still can split out an entirely new subtree
950 # if the parent of the first commit in the tree is not empty,
951 - # then the new subtree has accidently been attached to something
951 + # then the new subtree has accidentally been attached to something
952 git subtree split --prefix="sub dir2" --branch subproj2-br &&
953 check_equal "$(git log --pretty=format:%P -1 subproj2-br)" ""
954 )
git-p4.py
+1 -1
@@ -1934,7 +1934,7 @@ class P4Submit(Command, P4UserMap):
1934 if self.useClientSpec:
1935 self.clientSpecDirs = getClientSpec()
1936
1937 - # Check for the existance of P4 branches
1937 + # Check for the existence of P4 branches
1938 branchesDetected = (len(p4BranchesInGit().keys()) > 1)
1939
1940 if self.useClientSpec and not branchesDetected:
sha1_file.c
+1 -1
@@ -1692,7 +1692,7 @@ static int parse_sha1_header_extended(const char *hdr, struct object_info *oi,
1692 strbuf_add(oi->typename, type_buf, type_len);
1693 /*
1694 * Set type to 0 if its an unknown object and
1695 - * we're obtaining the type using '--allow-unkown-type'
1695 + * we're obtaining the type using '--allow-unknown-type'
1696 * option.
1697 */
1698 if ((flags & LOOKUP_UNKNOWN_OBJECT) && (type < 0))
t/README
+1 -1
@@ -265,7 +265,7 @@ right, so this:
265 $ sh ./t9200-git-cvsexport-commit.sh --run='1-4 !3'
266
267 will run tests 1, 2, and 4. Items that comes later have higher
268 -precendence. It means that this:
268 +precedence. It means that this:
269
270 $ sh ./t9200-git-cvsexport-commit.sh --run='!3 1-4'
271
t/t1006-cat-file.sh
+1 -1
@@ -231,7 +231,7 @@ $tag_content
231 | git cat-file --batch)"
232 '
233
234 -test_expect_success "--batch-check for an emtpy line" '
234 +test_expect_success "--batch-check for an empty line" '
235 test " missing" = "$(echo | git cat-file --batch-check)"
236 '
237
t/t3101-ls-tree-dirname.sh
+1 -1
@@ -16,7 +16,7 @@ This test runs git ls-tree with the following in a tree.
16 path3/1.txt - a file in a directory
17 path3/2.txt - a file in a directory
18
19 -Test the handling of mulitple directories which have matching file
19 +Test the handling of multiple directories which have matching file
20 entries. Also test odd filename and missing entries handling.
21 '
22 . ./test-lib.sh
t/t3420-rebase-autostash.sh
+2 -2
@@ -179,7 +179,7 @@ testrebase " --interactive" .git/rebase-merge
179
180 test_expect_success 'abort rebase -i with --autostash' '
181 test_when_finished "git reset --hard" &&
182 - echo uncommited-content >file0 &&
182 + echo uncommitted-content >file0 &&
183 (
184 write_script abort-editor.sh <<-\EOF &&
185 echo >"$1"
@@ -188,7 +188,7 @@ test_expect_success 'abort rebase -i with --autostash' '
188 test_must_fail git rebase -i --autostash HEAD^ &&
189 rm -f abort-editor.sh
190 ) &&
191 - echo uncommited-content >expected &&
191 + echo uncommitted-content >expected &&
192 test_cmp expected file0
193 '
194
t/t6018-rev-list-glob.sh
+1 -1
@@ -257,7 +257,7 @@ test_expect_success 'rev-list accumulates multiple --exclude' '
257
258
259 # "git rev-list<ENTER>" is likely to be a bug in the calling script and may
260 -# deserve an error message, but do cases where set of refs programatically
260 +# deserve an error message, but do cases where set of refs programmatically
261 # given using globbing and/or --stdin need to fail with the same error, or
262 # are we better off reporting a success with no output? The following few
263 # tests document the current behaviour to remind us that we might want to
t/t6030-bisect-porcelain.sh
+1 -1
@@ -721,7 +721,7 @@ git bisect good 3de952f2416b6084f557ec417709eac740c6818c
721 # first bad commit: [32a594a3fdac2d57cf6d02987e30eec68511498c] Add <4: Ciao for now> into <hello>.
722 EOF
723
724 -test_expect_success 'bisect log: successfull result' '
724 +test_expect_success 'bisect log: successful result' '
725 git bisect reset &&
726 git bisect start $HASH4 $HASH2 &&
727 git bisect good &&
t/t7001-mv.sh
+4 -4
@@ -292,8 +292,8 @@ test_expect_success 'setup submodule' '
292 echo content >file &&
293 git add file &&
294 git commit -m "added sub and file" &&
295 - mkdir -p deep/directory/hierachy &&
296 - git submodule add ./. deep/directory/hierachy/sub &&
295 + mkdir -p deep/directory/hierarchy &&
296 + git submodule add ./. deep/directory/hierarchy/sub &&
297 git commit -m "added another submodule" &&
298 git branch submodule
299 '
@@ -485,8 +485,8 @@ test_expect_success 'moving a submodule in nested directories' '
485 # git status would fail if the update of linking git dir to
486 # work dir of the submodule failed.
487 git status &&
488 - git config -f ../.gitmodules submodule.deep/directory/hierachy/sub.path >../actual &&
489 - echo "directory/hierachy/sub" >../expect
488 + git config -f ../.gitmodules submodule.deep/directory/hierarchy/sub.path >../actual &&
489 + echo "directory/hierarchy/sub" >../expect
490 ) &&
491 test_cmp actual expect
492 '
t/t7810-grep.sh
+1 -1
@@ -581,7 +581,7 @@ test_expect_success 'log grep (9)' '
581 '
582
583 test_expect_success 'log grep (9)' '
584 - git log -g --grep-reflog="commit: third" --author="non-existant" --pretty=tformat:%s >actual &&
584 + git log -g --grep-reflog="commit: third" --author="non-existent" --pretty=tformat:%s >actual &&
585 : >expect &&
586 test_cmp expect actual
587 '
t/t9401-git-cvsserver-crlf.sh
+1 -1
@@ -154,7 +154,7 @@ test_expect_success 'adding files' '
154 echo "more text" > src.c &&
155 GIT_CONFIG="$git_config" cvs -Q add src.c >cvs.log 2>&1 &&
156 marked_as . src.c "" &&
157 - echo "psuedo-binary" > temp.bin
157 + echo "pseudo-binary" > temp.bin
158 ) &&
159 GIT_CONFIG="$git_config" cvs -Q add subdir/temp.bin >cvs.log 2>&1 &&
160 marked_as subdir temp.bin "-kb" &&
transport-helper.c
+4 -4
@@ -1103,7 +1103,7 @@ static void transfer_debug(const char *fmt, ...)
1103 }
1104
1105 /* Stream state: More data may be coming in this direction. */
1106 -#define SSTATE_TRANSFERING 0
1106 +#define SSTATE_TRANSFERRING 0
1107 /*
1108 * Stream state: No more data coming in this direction, flushing rest of
1109 * data.
@@ -1112,7 +1112,7 @@ static void transfer_debug(const char *fmt, ...)
1112 /* Stream state: Transfer in this direction finished. */
1113 #define SSTATE_FINISHED 2
1114
1115 -#define STATE_NEEDS_READING(state) ((state) <= SSTATE_TRANSFERING)
1115 +#define STATE_NEEDS_READING(state) ((state) <= SSTATE_TRANSFERRING)
1116 #define STATE_NEEDS_WRITING(state) ((state) <= SSTATE_FLUSHING)
1117 #define STATE_NEEDS_CLOSING(state) ((state) == SSTATE_FLUSHING)
1118
@@ -1369,7 +1369,7 @@ int bidirectional_transfer_loop(int input, int output)
1369 state.ptg.dest = 1;
1370 state.ptg.src_is_sock = (input == output);
1371 state.ptg.dest_is_sock = 0;
1372 - state.ptg.state = SSTATE_TRANSFERING;
1372 + state.ptg.state = SSTATE_TRANSFERRING;
1373 state.ptg.bufuse = 0;
1374 state.ptg.src_name = "remote input";
1375 state.ptg.dest_name = "stdout";
@@ -1378,7 +1378,7 @@ int bidirectional_transfer_loop(int input, int output)
1378 state.gtp.dest = output;
1379 state.gtp.src_is_sock = 0;
1380 state.gtp.dest_is_sock = (input == output);
1381 - state.gtp.state = SSTATE_TRANSFERING;
1381 + state.gtp.state = SSTATE_TRANSFERRING;
1382 state.gtp.bufuse = 0;
1383 state.gtp.src_name = "stdin";
1384 state.gtp.dest_name = "remote output";
upload-pack.c
+1 -1
@@ -836,7 +836,7 @@ int cmd_main(int argc, const char **argv)
836 OPT_BOOL(0, "stateless-rpc", &stateless_rpc,
837 N_("quit after a single request/response exchange")),
838 OPT_BOOL(0, "advertise-refs", &advertise_refs,
839 - N_("exit immediately after intial ref advertisement")),
839 + N_("exit immediately after initial ref advertisement")),
840 OPT_BOOL(0, "strict", &strict,
841 N_("do not try <directory>/.git/ if <directory> is no Git directory")),
842 OPT_INTEGER(0, "timeout", &timeout,