Skip to content

Commit 6dedd80

Browse files
rybakpeff
authored andcommitted
Documentation: make environment variable formatting more consistent
Documentation/git.txt is not consistent in the way it stylizes mentions of Environment Variables. Most of them are enclosed in single quotes, some are enclosed in backticks, some are not enclosed. Signed-off-by: Andrey Rybak <[email protected]> Signed-off-by: Jeff King <[email protected]>
1 parent af40944 commit 6dedd80

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/git.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ of clones and fetches.
10561056
cloning of shallow repositories.
10571057
See 'GIT_TRACE' for available trace output options.
10581058

1059-
GIT_LITERAL_PATHSPECS::
1059+
'GIT_LITERAL_PATHSPECS'::
10601060
Setting this variable to `1` will cause Git to treat all
10611061
pathspecs literally, rather than as glob patterns. For example,
10621062
running `GIT_LITERAL_PATHSPECS=1 git log -- '*.c'` will search
@@ -1065,15 +1065,15 @@ GIT_LITERAL_PATHSPECS::
10651065
literal paths to Git (e.g., paths previously given to you by
10661066
`git ls-tree`, `--raw` diff output, etc).
10671067

1068-
GIT_GLOB_PATHSPECS::
1068+
'GIT_GLOB_PATHSPECS'::
10691069
Setting this variable to `1` will cause Git to treat all
10701070
pathspecs as glob patterns (aka "glob" magic).
10711071

1072-
GIT_NOGLOB_PATHSPECS::
1072+
'GIT_NOGLOB_PATHSPECS'::
10731073
Setting this variable to `1` will cause Git to treat all
10741074
pathspecs as literal (aka "literal" magic).
10751075

1076-
GIT_ICASE_PATHSPECS::
1076+
'GIT_ICASE_PATHSPECS'::
10771077
Setting this variable to `1` will cause Git to treat all
10781078
pathspecs as case-insensitive.
10791079

@@ -1087,7 +1087,7 @@ GIT_ICASE_PATHSPECS::
10871087
variable when it is invoked as the top level command by the
10881088
end user, to be recorded in the body of the reflog.
10891089

1090-
`GIT_REF_PARANOIA`::
1090+
'GIT_REF_PARANOIA'::
10911091
If set to `1`, include broken or badly named refs when iterating
10921092
over lists of refs. In a normal, non-corrupted repository, this
10931093
does nothing. However, enabling it may help git to detect and
@@ -1098,7 +1098,7 @@ GIT_ICASE_PATHSPECS::
10981098
an operation has touched every ref (e.g., because you are
10991099
cloning a repository to make a backup).
11001100

1101-
`GIT_ALLOW_PROTOCOL`::
1101+
'GIT_ALLOW_PROTOCOL'::
11021102
If set, provide a colon-separated list of protocols which are
11031103
allowed to be used with fetch/push/clone. This is useful to
11041104
restrict recursive submodule initialization from an untrusted

0 commit comments

Comments
 (0)