Some doc typo fixes
PATCH 1/1 Some doc typo fixes
All should be clear enough, except perhaps committish / commitish. I just kept the more-used one within the current docs.
---
271f459c2fec6898d913bbc040a71be067e0d009
Documentation/config.txt | 6 +++--- Documentation/cvs-migration.txt | 2 +- Documentation/everyday.txt | 2 +- Documentation/git-check-ref-format.txt | 2 +- Documentation/git-describe.txt | 2 +- Documentation/git-name-rev.txt | 2 +- Documentation/git-p4import.txt | 2 +- Documentation/git-read-tree.txt | 2 +- Documentation/hooks.txt | 2 +- Documentation/tutorial.txt | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-)
271f459c2fec6898d913bbc040a71be067e0d009
Documentation/config.txt +3 -3
@@ -113,12 +113,12 @@ gitcvs.logfile:: http.sslVerify:: Whether to verify the SSL certificate when fetching or pushing - over HTTPS. Can be overriden by the 'GIT_SSL_NO_VERIFY' environment + over HTTPS. Can be overridden by the 'GIT_SSL_NO_VERIFY' environment variable. http.sslCert:: File containing the SSL certificate when fetching or pushing - over HTTPS. Can be overriden by the 'GIT_SSL_CERT' environment + over HTTPS. Can be overridden by the 'GIT_SSL_CERT' environment variable. http.sslKey::
@@ -133,7 +133,7 @@ http.sslCAInfo:: http.sslCAPath:: Path containing files with the CA certificates to verify the peer - with when fetching or pushing over HTTPS. Can be overriden + with when fetching or pushing over HTTPS. Can be overridden by the 'GIT_SSL_CAPATH' environment variable. http.maxRequests::
Documentation/cvs-migration.txt +1 -1
@@ -106,7 +106,7 @@ Make sure committers have a umask of at they create are writable and searchable by other group members. Suppose this repository is now set up in /pub/repo.git on the host -foo.com. Then as an individual commiter you can clone the shared +foo.com. Then as an individual committer you can clone the shared repository: ------------------------------------------------
Documentation/everyday.txt +1 -1
@@ -45,7 +45,7 @@ Everybody uses these commands to feed an * gitlink:git-fsck-objects[1] to validate the repository. - * gitlink:git-prune[1] to garbage collect crufts in the + * gitlink:git-prune[1] to garbage collect cruft in the repository. * gitlink:git-repack[1] to pack loose objects for efficiency.
Documentation/git-check-ref-format.txt +1 -1
@@ -20,7 +20,7 @@ a tag is stored under `$GIT_DIR/refs/tag imposes the following rules on how refs are named: . It could be named hierarchically (i.e. separated with slash - `/`), but each of its component cannot begin with a dot `.`; + `/`), but each of its components cannot begin with a dot `.`; . It cannot have two consecutive dots `..` anywhere;
Documentation/git-describe.txt +1 -1
@@ -21,7 +21,7 @@ object name of the commit. OPTIONS ------- <committish>:: - The object name of the comittish. + The object name of the committish. --all:: Instead of using only the annotated tags, use any ref
Documentation/git-name-rev.txt +1 -1
@@ -8,7 +8,7 @@ git-name-rev - Find symbolic names for g SYNOPSIS -------- -'git-name-rev' [--tags] ( --all | --stdin | <commitish>... ) +'git-name-rev' [--tags] ( --all | --stdin | <committish>... ) DESCRIPTION -----------
Documentation/git-p4import.txt +1 -1
@@ -128,7 +128,7 @@ Therefore after the import you can use g Perforce number, eg. git show p4/327. The tag associated with the HEAD commit is also how `git-p4import` -determines if their are new changes to incrementally import from the +determines if there are new changes to incrementally import from the Perforce repository. If you import from a repository with many thousands of changes
Documentation/git-read-tree.txt +1 -1
@@ -257,7 +257,7 @@ file that does not match stage 2. This is done to prevent you from losing your work-in-progress changes, and mixing your random changes in an unrelated merge commit. To illustrate, suppose you start from what has been -commited last to your repository: +committed last to your repository: ---------------- $ JC=`git-rev-parse --verify "HEAD^0"`
Documentation/hooks.txt +1 -1
@@ -100,7 +100,7 @@ update This hook is invoked by `git-receive-pack` on the remote repository, which is happens when a `git push` is done on a local repository. Just before updating the ref on the remote repository, the update hook -is invoked. It's exit status determines the success or failure of +is invoked. Its exit status determines the success or failure of the ref update. The hook executes once for each ref to be updated, and takes
Documentation/tutorial.txt +1 -1
@@ -357,7 +357,7 @@ names. For example: $ git branch stable v2.5 # start a new branch named "stable" based # at v2.5 $ git reset --hard HEAD^ # reset your current branch and working - # directory its state at HEAD^ + # directory to its state at HEAD^ ------------------------------------- Be careful with that last command: in addition to losing any changes
Signature · 4 lines
1.3.3.g63df-dirty -- Francis Daly [email protected]
Quoted 2 lines · Francis Daly
All should be clear enough, except perhaps committish / commitish. I just kept the more-used one within the current docs.
Thanks. I am not a native, and this is very much appreciated.
Documentation/git-check-ref-format.txt a tag is stored under `$GIT_DIR/refs/tag · line 23
Quoted 3 lines
. It could be named hierarchically (i.e. separated with slash
Documentation/git-check-ref-format.txt +1
-1- `/`), but each of its component cannot begin with a dot `.`; + `/`), but each of its components cannot begin with a dot `.`;
I am not sure; shouldn't the wording be "each of <plural>" to mean "there are/can be more than one, and you look at them one by one and make sure the condition holds for each of them" (oops, that's cyclic explanation and I failed to paraphrase it without using "each of")???
All the others look good. Thanks.
Quoted 5 lines · Junio C Hamano
Quoted 2 lines · Francis Daly
All should be clear enough, except perhaps committish / commitish. I just kept the more-used one within the current docs.
Quoted 7 lines
Thanks. I am not a native, and this is very much appreciated.
Documentation/git-check-ref-format.txt a tag is stored under `$GIT_DIR/refs/tag · line 23
Quoted 3 lines
. It could be named hierarchically (i.e. separated with slash
Documentation/git-check-ref-format.txt +1
-1- `/`), but each of its component cannot begin with a dot `.`; + `/`), but each of its components cannot begin with a dot `.`;I am not sure; ...
Sheesh, I was reading the diff backwards. Sorry.
Quoted 1 line
All the others look good. Thanks.
All of them look obviously correct, it wasn't just obvious to me without enough caffeine.
Sorry for the noise.
Quoted 4 lines · Junio C Hamano
Quoted 3 lines · Junio C Hamano
Francis Daly <[email protected]> writes:
Thanks. I am not a native, and this is very much appreciated.
You're welcome.
Quoted 7 lines
Quoted 5 lines
Documentation/git-check-ref-format.txt a tag is stored under `$GIT_DIR/refs/tag · line 23
Quoted 3 lines
. It could be named hierarchically (i.e. separated with slash
Documentation/git-check-ref-format.txt +1
-1- `/`), but each of its component cannot begin with a dot `.`; + `/`), but each of its components cannot begin with a dot `.`;I am not sure; ...
Sheesh, I was reading the diff backwards. Sorry.
No worries. I had a head-scratching moment, and suspect that the whole stanza could be better phrased. If only there was someone who didn't already know what it means, they could suggest which phrasing makes it clear...
How about rewriting it as
It can include slash / for hierarchical (directory) grouping, but no slash-separated component can begin with a dot .;
?
"can" instead of "could" fits the later parts, and it removes the possessive and reverses the negative for something that (to my mind) scans better.
Cheers,
f
Signature · 1 line
Francis Daly [email protected]
Quoted 27 lines · Francis Daly
Quoted 6 lines · Junio C Hamano
Quoted 4 lines · Junio C Hamano
Francis Daly <[email protected]> writes:
Thanks. I am not a native, and this is very much appreciated.
You're welcome.
Quoted 7 lines
Quoted 5 lines
Documentation/git-check-ref-format.txt a tag is stored under `$GIT_DIR/refs/tag · line 23
Quoted 3 lines
. It could be named hierarchically (i.e. separated with slash
Documentation/git-check-ref-format.txt +1
-1- `/`), but each of its component cannot begin with a dot `.`; + `/`), but each of its components cannot begin with a dot `.`;I am not sure; ...
Sheesh, I was reading the diff backwards. Sorry.
No worries. I had a head-scratching moment, and suspect that the whole stanza could be better phrased. If only there was someone who didn't already know what it means, they could suggest which phrasing makes it clear...
Quoted 7 lines
How about rewriting it as
It can include slash
/for hierarchical (directory) grouping, but no slash-separated component can begin with a dot.;?
I like it.
Signature · 3 lines
Andreas Ericsson [email protected] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231