Skip to content

Commit dd7843b

Browse files
committed
environment.asc: some font fixups and sentence breaking
Signed-off-by: Robert P. J. Day <[email protected]>
1 parent 8192c4d commit dd7843b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

book/10-git-internals/sections/environment.asc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ If this isn't specified, Git walks up the directory tree until it gets to `~` or
3838
*`GIT_CEILING_DIRECTORIES`* controls the behavior of searching for a `.git` directory.
3939
If you access directories that are slow to load (such as those on a tape drive, or across a slow network connection), you may want to have Git stop trying earlier than it might otherwise, especially if Git is invoked when building your shell prompt.
4040

41-
*`GIT_WORK_TREE`* is the location of the root of the working directory for a non-bare repository. If --git-dir or GIT_DIR is specified but none of --work-tree, GIT_WORK_TREE and core.worktree is specified, the current working directory is regarded as the top level of your working tree.
41+
*`GIT_WORK_TREE`* is the location of the root of the working directory for a non-bare repository.
42+
If `--git-dir` or `GIT_DIR` is specified but none of `--work-tree`, `GIT_WORK_TREE` or `core.worktree` is specified, the current working directory is regarded as the top level of your working tree.
4243

4344
*`GIT_INDEX_FILE`* is the path to the index file (non-bare repositories only).
4445

@@ -53,7 +54,7 @@ If you happen to have a lot of projects with large files that have the exact sam
5354
A ``pathspec'' refers to how you specify paths to things in Git, including the use of wildcards.
5455
These are used in the `.gitignore` file, but also on the command-line (`git add *.c`).
5556

56-
*`GIT_GLOB_PATHSPECS` and `GIT_NOGLOB_PATHSPECS`* control the default behavior of wildcards in pathspecs.
57+
*`GIT_GLOB_PATHSPECS`* and *`GIT_NOGLOB_PATHSPECS`* control the default behavior of wildcards in pathspecs.
5758
If `GIT_GLOB_PATHSPECS` is set to 1, wildcard characters act as wildcards (which is the default); if `GIT_NOGLOB_PATHSPECS` is set to 1, wildcard characters only match themselves, meaning something like `*.c` would only match a file _named_ ``*.c'', rather than any file whose name ends with `.c`.
5859
You can override this in individual cases by starting the pathspec with `:(glob)` or `:(literal)`, as in `:(glob)*.c`.
5960

0 commit comments

Comments
 (0)