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

[Q] would it be bad to make /etc/gitconfig runtime configurable?

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 27, 2016, 17:05 UTC
Message-ID
<xmqqoa39p926.fsf@gitster.mtv.corp.google.com>

The subject says it all. Would it be bad if we introduce an environment variable, GIT_SYSTEM_CONFIG=/etc/gitconfig, that names an alternative location of the system-wide configuration file?

That would supersede/deprecate GIT_CONFIG_NOSYSTEM that we introduced primarily so that we can run our tests without getting affected by the configuration that happens to be effective on the host that the test is being run.

Next: Jeff King
Message 1 of 5 in “[Q] would it be bad to make /etc/gitconfig runtime configurable?”
  1. Junio C HamanoSep 27, 2016
  2. Jeff KingSep 27, 2016
  3. Johannes SchindelinOct 3, 2016
  4. Jeff KingOct 3, 2016
  5. Junio C HamanoOct 3, 2016

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.