From 469bfc962df22a87f0f0c60699d91fa9e647492a Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 3 Jan 2011 20:03:34 +0100 Subject: [PATCH] Fix typos in the documentation Signed-off-by: Ralf Wildenhues Signed-off-by: Junio C Hamano --- Documentation/CodingGuidelines | 2 +- Documentation/RelNotes/1.7.4.txt | 9 ++++----- Documentation/config.txt | 4 ++-- Documentation/git-add.txt | 2 +- Documentation/git-bundle.txt | 2 +- Documentation/git-fmt-merge-msg.txt | 2 +- Documentation/git-remote-ext.txt | 16 ++++++++-------- Documentation/git-remote-fd.txt | 8 ++++---- Documentation/git-svn.txt | 2 +- Documentation/gitmodules.txt | 2 +- Documentation/merge-config.txt | 2 +- Documentation/technical/api-sigchain.txt | 2 +- 12 files changed, 26 insertions(+), 27 deletions(-) diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index 1b1c45df5..ba2006d89 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -157,7 +157,7 @@ Writing Documentation: --sort= --abbrev[=] - Possibility of multiple occurences is indicated by three dots: + Possibility of multiple occurrences is indicated by three dots: ... (One or more of .) diff --git a/Documentation/RelNotes/1.7.4.txt b/Documentation/RelNotes/1.7.4.txt index b736d398c..375fea193 100644 --- a/Documentation/RelNotes/1.7.4.txt +++ b/Documentation/RelNotes/1.7.4.txt @@ -8,12 +8,11 @@ Updates since v1.7.3 docbook-xsl >= 1.73. If you have older versions, you can set ASCIIDOC7 and ASCIIDOC_ROFF, respectively. - * The option parsers of various commands that create new branch (or + * The option parsers of various commands that create new branches (or rename existing ones to a new name) were too loose and users were - allowed to call a branch with a name that begins with a dash by - creative abuse of their command line options, which only lead to - burn themselves. The name of a branch cannot begin with a dash - now. + allowed to give a branch a name that begins with a dash by creative + abuse of their command line options, which only led to burning + themselves. The name of a branch cannot begin with a dash now. * System-wide fallback default attributes can be stored in /etc/gitattributes; core.attributesfile configuration variable can diff --git a/Documentation/config.txt b/Documentation/config.txt index a8759cff8..ff7c22546 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -892,7 +892,7 @@ diff.wordRegex:: fetch.recurseSubmodules:: A boolean value which changes the behavior for fetch and pull, the - default is to not recursively fetch populated sumodules unless + default is to not recursively fetch populated submodules unless configured otherwise. fetch.unpackLimit:: @@ -1811,7 +1811,7 @@ submodule..update:: submodule..fetchRecurseSubmodules:: This option can be used to enable/disable recursive fetching of this - submodule. It can be overriden by using the --[no-]recurse-submodules + submodule. It can be overridden by using the --[no-]recurse-submodules command line option to "git fetch" and "git pull". This setting will override that from in the linkgit:gitmodules[5] file. diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt index 54aaaeb41..a03448f92 100644 --- a/Documentation/git-add.txt +++ b/Documentation/git-add.txt @@ -333,7 +333,7 @@ likely to introduce confusing changes to the index. There are also more complex operations that can be performed. But beware that because the patch is applied only to the index and not the working tree, the working tree will appear to "undo" the change in the index. -For example, introducing a a new line into the index that is in neither +For example, introducing a new line into the index that is in neither the HEAD nor the working tree will stage the new line for commit, but the line will appear to be reverted in the working tree. diff --git a/Documentation/git-bundle.txt b/Documentation/git-bundle.txt index 6266a3a60..299007b20 100644 --- a/Documentation/git-bundle.txt +++ b/Documentation/git-bundle.txt @@ -59,7 +59,7 @@ unbundle :: :: A list of arguments, acceptable to 'git rev-parse' and - 'git rev-list' (and containg a named ref, see SPECIFYING REFERENCES + 'git rev-list' (and containing a named ref, see SPECIFYING REFERENCES below), that specifies the specific objects and references to transport. For example, `master{tilde}10..master` causes the current master reference to be packaged along with all objects diff --git a/Documentation/git-fmt-merge-msg.txt b/Documentation/git-fmt-merge-msg.txt index 40dba8c0a..75adf7a50 100644 --- a/Documentation/git-fmt-merge-msg.txt +++ b/Documentation/git-fmt-merge-msg.txt @@ -57,7 +57,7 @@ merge.log:: In addition to branch names, populate the log message with at most the specified number of one-line descriptions from the actual commits that are being merged. Defaults to false, and - true is a synoym for 20. + true is a synonym for 20. merge.summary:: Synonym to `merge.log`; this is deprecated and will be removed in diff --git a/Documentation/git-remote-ext.txt b/Documentation/git-remote-ext.txt index f4fbf6720..2d65cfefd 100644 --- a/Documentation/git-remote-ext.txt +++ b/Documentation/git-remote-ext.txt @@ -15,12 +15,12 @@ This remote helper uses the specified 'program' to connect to a remote git server. Data written to stdin of this specified 'program' is assumed -to be sent to git:// server, git-upload-pack, git-receive-pack +to be sent to a git:// server, git-upload-pack, git-receive-pack or git-upload-archive (depending on situation), and data read from stdout of this program is assumed to be received from the same service. -Command and arguments are separated by unescaped space. +Command and arguments are separated by an unescaped space. The following sequences have a special meaning: @@ -39,19 +39,19 @@ The following sequences have a special meaning: git-upload-pack, or git-upload-archive) of the service git wants to invoke. -'%G' (must be first characters in argument):: +'%G' (must be the first characters in an argument):: This argument will not be passed to 'program'. Instead, it - will cause helper to start by sending git:// service request to - remote side with service field set to approiate value and - repository field set to rest of the argument. Default is not to send - such request. + will cause the helper to start by sending git:// service requests to + the remote side with the service field set to an appropriate value and + the repository field set to rest of the argument. Default is not to send + such a request. + This is useful if remote side is git:// server accessed over some tunnel. '%V' (must be first characters in argument):: This argument will not be passed to 'program'. Instead it sets - the vhost field in git:// service request (to rest of the argument). + the vhost field in the git:// service request (to rest of the argument). Default is not to send vhost in such request (if sent). ENVIRONMENT VARIABLES: diff --git a/Documentation/git-remote-fd.txt b/Documentation/git-remote-fd.txt index abc49441b..4aecd4d18 100644 --- a/Documentation/git-remote-fd.txt +++ b/Documentation/git-remote-fd.txt @@ -11,20 +11,20 @@ SYNOPSIS DESCRIPTION ----------- -This helper uses specified file descriptors to connect to remote git server. +This helper uses specified file descriptors to connect to a remote git server. This is not meant for end users but for programs and scripts calling git fetch, push or archive. -If only is given, it is assumed to be bidirectional socket connected +If only is given, it is assumed to be a bidirectional socket connected to remote git server (git-upload-pack, git-receive-pack or git-upload-achive). If both and are given, they are assumed -to be pipes connected to remote git server ( being the inbound pipe +to be pipes connected to a remote git server ( being the inbound pipe and being the outbound pipe. It is assumed that any handshaking procedures have already been completed (such as sending service request for git://) before this helper is started. - can be any string. It is ignored. It is meant for provoding + can be any string. It is ignored. It is meant for providing information to user in the URL in case that URL is displayed in some context. diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt index 139d314ba..254d0441b 100644 --- a/Documentation/git-svn.txt +++ b/Documentation/git-svn.txt @@ -613,7 +613,7 @@ old references to SVN revision numbers in existing documentation, bug reports and archives. If you plan to eventually migrate from SVN to git and are certain about dropping SVN history, consider linkgit:git-filter-branch[1] instead. filter-branch also allows -reformating of metadata for ease-of-reading and rewriting authorship +reformatting of metadata for ease-of-reading and rewriting authorship info for non-"svn.authorsFile" users. svn.useSvmProps:: diff --git a/Documentation/gitmodules.txt b/Documentation/gitmodules.txt index 6c93202e7..68977943e 100644 --- a/Documentation/gitmodules.txt +++ b/Documentation/gitmodules.txt @@ -49,7 +49,7 @@ submodule..fetchRecurseSubmodules:: submodule. If this option is also present in the submodules entry in .git/config of the superproject, the setting there will override the one found in .gitmodules. - Both settings can be overriden on the command line by using the + Both settings can be overridden on the command line by using the "--[no-]recurse-submodules" option to "git fetch" and "git pull".. submodule..ignore:: diff --git a/Documentation/merge-config.txt b/Documentation/merge-config.txt index 92772e7c4..1e5c22c5e 100644 --- a/Documentation/merge-config.txt +++ b/Documentation/merge-config.txt @@ -10,7 +10,7 @@ merge.log:: In addition to branch names, populate the log message with at most the specified number of one-line descriptions from the actual commits that are being merged. Defaults to false, and - true is a synoym for 20. + true is a synonym for 20. merge.renameLimit:: The number of files to consider when performing rename detection diff --git a/Documentation/technical/api-sigchain.txt b/Documentation/technical/api-sigchain.txt index 535cdff16..9e1189ef0 100644 --- a/Documentation/technical/api-sigchain.txt +++ b/Documentation/technical/api-sigchain.txt @@ -32,7 +32,7 @@ and installation code should look something like: } ------------------------------------------ -Handlers are given the typdef of sigchain_fun. This is the same type +Handlers are given the typedef of sigchain_fun. This is the same type that is given to signal() or sigaction(). It is perfectly reasonable to push SIG_DFL or SIG_IGN onto the stack. -- 2.30.2