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

RE: [BUG] PREFIX environment variable ignored by git config --system

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Jan 29, 2025, 23:49 UTC
Message-ID
<001201db72a8$72719480$5754bd80$@nexbridge.com>
In-Reply-To
<xmqqwmedgpkf.fsf@gitster.g>
On January 29, 2025 6:37 PM, Junio C Hamano wrote:
Show 25 quoted lines
><rsbecker@nexbridge.com> writes:
>
>> On January 29, 2025 3:15 PM, Junio C Hamano wrote:
>>><rsbecker@nexbridge.com> writes:
>>>
>>>> The documentation on the Environment Configuration page seems to
>>>> imply that
>>>
>>>Sorry, I am totally lost.  Whose documentation on what software are
>>>you
>> referring
>>>to?
>>>
>>>  $ git grep -i -e 'environment configuration'
>>>
>>>comes back empty.
>>
>> It is here:
>> https://git-scm.com/book/ms/v2/Git-Internals-Environment-Variables
>
>It is news to me ;-).
>
>    $ git grep '[^_]PREFIX[^_]'
>
>does not have any hits in the source, so I do not see how we _could_ be
paying any
Show 8 quoted lines
>attention to such a thing.
>
>The description seems to originate at
>
>  https://github.com/progit2-
>ms/progit2/commit/c24f22d6a6b0572f5756afd64f0c2e9fa6f804fa
>
>that was more than 10 years old.  I do not know how reliable the
description there
>is.

Those of us who have written documentation for much of our lives, really miss accuracy. There are companies where a wrong bit of documentation is considered as high severity defect. Regardless of that...

t1300-config.sh has the following line in it:
GIT_CONFIG_SYSTEM=write-to-system git config --system config.key value &&
Could it mean that GIT_CONFIG_SYSTEM is actually what I am looking for?
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 15 in “[BUG] PREFIX environment variable ignored by git config --system”
  1. rsbecker@nexbridge.comJan 29, 2025
  2. Junio C HamanoJan 29, 2025
  3. rsbecker@nexbridge.comJan 29, 2025
  4. Junio C HamanoJan 29, 2025
  5. rsbecker@nexbridge.comJan 29, 2025
  6. Junio C HamanoJan 29, 2025
  7. rsbecker@nexbridge.comJan 29, 2025
  8. Junio C HamanoJan 29, 2025
  9. rsbecker@nexbridge.comJan 30, 2025
  10. Junio C HamanoJan 30, 2025
  11. rsbecker@nexbridge.comJan 30, 2025
  12. Ben KnobleJan 30, 2025
  13. Junio C HamanoJan 30, 2025
  14. rsbecker@nexbridge.comJan 29, 2025
  15. Junio C HamanoJan 29, 2025

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.