git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation: make formatting more consistent

From
Андрей Рыбак <rybak.a.v@gmail.com>
Date
Nov 11, 2015, 15:47 UTC
Message-ID
<CACayv=gEGY-JNfu26fOzztXwhV_bkG8pv_iOXLC5L-Mig9f0kw@mail.gmail.com>
Documentation/git.txt: enclose all Environment Variables in single quotes.
Signed-off-by: Andrey Rybak <rybak.a.v@gmail.com>
---
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.
 Documentation/git.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Documentation/git.txt b/Documentation/git.txt
index c2e2a94..900272b 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -1056,7 +1056,7 @@ of clones and fetches.
  cloning of shallow repositories.
  See 'GIT_TRACE' for available trace output options.

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

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

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

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

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

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

-`GIT_ALLOW_PROTOCOL`::
+'GIT_ALLOW_PROTOCOL'::
  If set, provide a colon-separated list of protocols which are
  allowed to be used with fetch/push/clone. This is useful to
  restrict recursive submodule initialization from an untrusted
-- 
2.5.3.windows.1
Next: Jeff King
Message 1 of 3 in “Documentation: make formatting more consistent”
  1. Documentation: make formatting more consistentАндрей Рыбак, Nov 11, 2015
  2. Jeff KingNov 11, 2015
  3. Jeff KingNov 13, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.