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

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

From
Junio C Hamano <junio@pobox.com>
Date
Jan 29, 2025, 23:48 UTC
Message-ID
<xmqqsep1gp0f.fsf@gitster.g>
In-Reply-To
<xmqqbjvpk1wo.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 21 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>> <rsbecker@nexbridge.com> writes:
>>
>>> Thank you for filling out a Git bug report!
>>>
>>> Please answer the following questions to help us understand your issue.
>>>
>>> What did you do before the bug happened? (Steps to reproduce your issue)
>>> export PREFIX=/home/randall
>>> git config --system --list
>>>
>>> What did you expect to happen? (Expected behavior)
>>> Git should use ${PREFIX}/etc/gitconfig instead of the build location to
>>
>> But that is now how PREFIX works, as far as I remember.  PREFIX is a
>> build-time thing.
>
> Sorry, I misspoke.
>
> I was talking about $(prefix) Makefile macro, that is all lowercase.
Previous: rsbecker@nexbridge.com
Message 15 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.