Skip to content

Commit ff1ce50

Browse files
sunshinecogitster
authored andcommitted
git-worktree.txt: fix minor grammatical issues
Fix a few grammatical problems to improve the reading experience. Signed-off-by: Eric Sunshine <[email protected]> Reviewed-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4f375b2 commit ff1ce50

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Documentation/git-worktree.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ list::
8282

8383
List details of each working tree. The main working tree is listed first,
8484
followed by each of the linked working trees. The output details include
85-
if the working tree is bare, the revision currently checked out, and the
85+
whether the working tree is bare, the revision currently checked out, and the
8686
branch currently checked out (or "detached HEAD" if none).
8787

8888
lock::
@@ -171,7 +171,7 @@ This can also be set up as the default behaviour by using the
171171
--lock::
172172
Keep the working tree locked after creation. This is the
173173
equivalent of `git worktree lock` after `git worktree add`,
174-
but without race condition.
174+
but without a race condition.
175175

176176
-n::
177177
--dry-run::
@@ -202,21 +202,21 @@ This can also be set up as the default behaviour by using the
202202
absolute.
203203
+
204204
If the last path components in the working tree's path is unique among
205-
working trees, it can be used to identify working trees. For example if
205+
working trees, it can be used to identify a working tree. For example if
206206
you only have two working trees, at `/abc/def/ghi` and `/abc/def/ggg`,
207207
then `ghi` or `def/ghi` is enough to point to the former working tree.
208208

209209
REFS
210210
----
211211
In multiple working trees, some refs may be shared between all working
212-
trees, some refs are local. One example is `HEAD` is different for all
213-
working trees. This section is about the sharing rules and how to access
212+
trees and some refs are local. One example is `HEAD` which is different for each
213+
working tree. This section is about the sharing rules and how to access
214214
refs of one working tree from another.
215215

216216
In general, all pseudo refs are per working tree and all refs starting
217217
with `refs/` are shared. Pseudo refs are ones like `HEAD` which are
218-
directly under `$GIT_DIR` instead of inside `$GIT_DIR/refs`. There is one
219-
exception to this: refs inside `refs/bisect` and `refs/worktree` is not
218+
directly under `$GIT_DIR` instead of inside `$GIT_DIR/refs`. There are
219+
exceptions, however: refs inside `refs/bisect` and `refs/worktree` are not
220220
shared.
221221

222222
Refs that are per working tree can still be accessed from another
@@ -243,7 +243,7 @@ already present in the config file, they will be applied to the main
243243
working trees only.
244244

245245
In order to have configuration specific to working trees, you can turn
246-
on `worktreeConfig` extension, e.g.:
246+
on the `worktreeConfig` extension, e.g.:
247247

248248
------------
249249
$ git config extensions.worktreeConfig true
@@ -255,7 +255,7 @@ configuration in this file with `git config --worktree`. Older Git
255255
versions will refuse to access repositories with this extension.
256256

257257
Note that in this file, the exception for `core.bare` and `core.worktree`
258-
is gone. If you have them in `$GIT_DIR/config` before, you must move
258+
is gone. If they exist in `$GIT_DIR/config`, you must move
259259
them to the `config.worktree` of the main working tree. You may also
260260
take this opportunity to review and move other configuration that you
261261
do not want to share to all working trees:
@@ -334,7 +334,7 @@ Porcelain Format
334334
~~~~~~~~~~~~~~~~
335335
The porcelain format has a line per attribute. Attributes are listed with a
336336
label and value separated by a single space. Boolean attributes (like `bare`
337-
and `detached`) are listed as a label only, and are only present if and only
337+
and `detached`) are listed as a label only, and are present only
338338
if the value is true. The first attribute of a working tree is always
339339
`worktree`, an empty line indicates the end of the record. For example:
340340

0 commit comments

Comments
 (0)