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, 18:20 UTC
Message-ID
<008501db727a$80b08430$82118c90$@nexbridge.com>
In-Reply-To
<xmqqbjvpk1wo.fsf@gitster.g>
On January 29, 2025 11:42 AM, Junio C Hamano wrote:
Show 13 quoted lines
><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.
>
>Perhaps you are looking for RUNTIME_PREFIX build-time option?  I do not
know
>how well it is maintained these days, and if it allows you to futz with the
paths at
>runtime (without _moving_ the executable and all other installation
material en
>masse), though.
I did try that at runtime. No luck. I think we need to fix this.
Previous: Junio C HamanoNext: Junio C Hamano
Message 14 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.