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

Re: [PATCH] Documentation: mention environment variables GIT_CONFIG_NO(GLOBAL|SYSTEM)

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Oct 3, 2010, 23:10 UTC
Message-ID
<AANLkTimkDEff5dzO+PDR44vSq9JQ7Junj+Lwm30Fy1Vr@mail.gmail.com>
In-Reply-To
<20101003235329.6f4d2572@jk.gs>
Heya,
On Sun, Oct 3, 2010 at 23:53, Jan Krüger <jk@jk.gs> wrote:
Show 5 quoted lines
> The environment variables GIT_CONFIG_NOGLOBAL and GIT_CONFIG_NOSYSTEM
> which have the opposite effect of the --global and --system switches to
> git-config are completely undocumented. This mentions them in the
> 'files' and 'environment' sections of the manpage for git-config where
> GIT_CONFIG is already mentioned.
Nice.
Show 8 quoted lines
> +GIT_CONFIG_NOGLOBAL::
> +       If set to true, do not use the global configuration file
> +       in ~/.gitconfig.
> +
> +GIT_CONFIG_NOSYSTEM::
> +       If set to true, do not use the system-wide configuration file in
> +       /etc/gitconfig.
> +

If there are a '--no-global' and '--no-system', would it good to mention those too? Something like: "If set to true, do not use the system-wide configuration file in /etc/gitconfig, equivalent to --no-global."?

-- 
Cheers,

Sverre Rabbelier
Previous: Jan KrügerNext: Junio C Hamano
Message 2 of 4 in “Documentation: mention environment variables GIT_CONFIG_NO(GLOBAL|SYSTEM)”
  1. Documentation: mention environment variables GIT_CONFIG_NO(GLOBAL|SYSTEM)Jan Krüger, Oct 3, 2010
  2. Sverre RabbelierOct 3, 2010
  3. Junio C HamanoOct 3, 2010
  4. Jan KrügerOct 4, 2010

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.