doc: various spelling fixes
Most of these were found using Lucas De Marchi's codespell tool. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stefano Lattarini committed
Apr 12, 2013 at 00:36 UTC
e1c3bf496f494e60e781c8dd0ec3d799ea48722c
10 files changed
+13
-13
Documentation/git-credential.txt
+1
-1
@@ -56,7 +56,7 @@ For example, if we want a password for
56
`https://example.com/foo.git`, we might generate the following
57
credential description (don't forget the blank line at the end; it
58
tells `git credential` that the application finished feeding all the
59
-infomation it has):
59
+information it has):
60
61
protocol=https
62
host=example.com
Documentation/git-remote-ext.txt
+1
-1
@@ -86,7 +86,7 @@ begins with `ext::`. Examples:
86
edit .ssh/config.
87
88
"ext::socat -t3600 - ABSTRACT-CONNECT:/git-server %G/somerepo"::
89
- Represents repository with path /somerepo accessable over
89
+ Represents repository with path /somerepo accessible over
90
git protocol at abstract namespace address /git-server.
91
92
"ext::git-server-alias foo %G/repo"::
Documentation/git-svn.txt
+2
-2
@@ -245,7 +245,7 @@ first have already been pushed into SVN.
245
patch), "all" (accept all patches), or "quit".
246
+
247
'git svn dcommit' returns immediately if answer if "no" or "quit", without
248
- commiting anything to SVN.
248
+ committing anything to SVN.
249
250
'branch'::
251
Create a branch in the SVN repository.
@@ -856,7 +856,7 @@ HANDLING OF SVN BRANCHES
856
------------------------
857
If 'git svn' is configured to fetch branches (and --follow-branches
858
is in effect), it sometimes creates multiple Git branches for one
859
-SVN branch, where the addtional branches have names of the form
859
+SVN branch, where the additional branches have names of the form
860
'branchname@nnn' (with nnn an SVN revision number). These additional
861
branches are created if 'git svn' cannot find a parent commit for the
862
first commit in an SVN branch, to connect the branch to the history of
Documentation/git-tools.txt
+1
-1
@@ -109,7 +109,7 @@ Others
109
110
- *git.el* (contrib/)
111
112
- This is an Emacs interface for Git. The user interface is modeled on
112
+ This is an Emacs interface for Git. The user interface is modelled on
113
pcl-cvs. It has been developed on Emacs 21 and will probably need some
114
tweaking to work on XEmacs.
115
Documentation/revisions.txt
+1
-1
@@ -55,7 +55,7 @@ when you run `git cherry-pick`.
55
+
56
Note that any of the 'refs/*' cases above may come either from
57
the '$GIT_DIR/refs' directory or from the '$GIT_DIR/packed-refs' file.
58
-While the ref name encoding is unspecified, UTF-8 is prefered as
58
+While the ref name encoding is unspecified, UTF-8 is preferred as
59
some output processing may assume ref names in UTF-8.
60
61
'<refname>@\{<date>\}', e.g. 'master@\{yesterday\}', 'HEAD@\{5 minutes ago\}'::
Documentation/technical/api-argv-array.txt
+1
-1
@@ -55,7 +55,7 @@ Functions
55
initial, empty state.
56
57
`argv_array_detach`::
58
- Detach the argv array from the `struct argv_array`, transfering
58
+ Detach the argv array from the `struct argv_array`, transferring
59
ownership of the allocated array and strings.
60
61
`argv_array_free_detached`::
Documentation/technical/api-credentials.txt
+1
-1
@@ -160,7 +160,7 @@ int foo_login(struct foo_connection *f)
160
break;
161
default:
162
/*
163
- * Some other error occured. We don't know if the
163
+ * Some other error occurred. We don't know if the
164
* credential is good or bad, so report nothing to the
165
* credential subsystem.
166
*/
Documentation/technical/api-ref-iteration.txt
+1
-1
@@ -35,7 +35,7 @@ Iteration functions
35
* `head_ref_submodule()`, `for_each_ref_submodule()`,
36
`for_each_ref_in_submodule()`, `for_each_tag_ref_submodule()`,
37
`for_each_branch_ref_submodule()`, `for_each_remote_ref_submodule()`
38
- do the same as the functions descibed above but for a specified
38
+ do the same as the functions described above but for a specified
39
submodule.
40
41
* `for_each_rawref()` can be used to learn about broken ref and symref.
gitweb/INSTALL
+1
-1
@@ -244,7 +244,7 @@ for gitweb (in gitweb/README), and gitweb.conf(5) manpage.
244
through the GITWEB_CONFIG_SYSTEM environment variable.
245
246
Note that if per-instance configuration file exists, then system-wide
247
- configuration is _not used at all_. This is quite untypical and suprising
247
+ configuration is _not used at all_. This is quite untypical and surprising
248
behavior. On the other hand changing current behavior would break backwards
249
compatibility and can lead to unexpected changes in gitweb behavior.
250
Therefore gitweb also looks for common system-wide configuration file,
po/README
+3
-3
@@ -232,7 +232,7 @@ Shell:
232
233
# To interpolate variables:
234
details="oh noes"
235
- eval_gettext "An error occured: \$details"; echo
235
+ eval_gettext "An error occurred: \$details"; echo
236
237
In addition we have wrappers for messages that end with a trailing
238
newline. I.e. you could write the above as:
@@ -242,7 +242,7 @@ Shell:
242
243
# To interpolate variables:
244
details="oh noes"
245
- eval_gettextln "An error occured: \$details"
245
+ eval_gettextln "An error occurred: \$details"
246
247
More documentation about the interface is available in the GNU info
248
page: `info '(gettext)sh'`. Looking at git-am.sh (the first shell
@@ -257,7 +257,7 @@ Perl:
257
258
use Git::I18N;
259
print __("Welcome to Git!\n");
260
- printf __("The following error occured: %s\n"), $error;
260
+ printf __("The following error occurred: %s\n"), $error;
261
262
Run `perldoc perl/Git/I18N.pm` for more info.
263