From: Junio C Hamano <gitster@pobox.com>
To: <rsbecker@nexbridge.com>
Cc: <git@vger.kernel.org>
Subject: Re: [BUG] PREFIX environment variable ignored by git config --system
Date: Thu, 30 Jan 2025 13:57:41 -0800 [thread overview]
Message-ID: <xmqqldusarsa.fsf@gitster.g> (raw)
In-Reply-To: <001801db72af$20a35560$61ea0020$@nexbridge.com> (rsbecker@nexbridge.com's message of "Wed, 29 Jan 2025 19:37:17 -0500")
<rsbecker@nexbridge.com> writes:
> On January 29, 2025 7:24 PM, Junio C Hamano wrote:
>><rsbecker@nexbridge.com> writes:
>>
>>> This appears to do exactly what I am looking for. When I create that
>>> file, git picks up config values from that file.The question is, is
>>> this environment variable actually sanctioned or is it just coincidence?
> It does
>>exactly what I am looking for.
>>
>>How about reading "git config --help"?
>
> Yup. It's there, thanks. So should I figure out how to sync the website with
> this
> or ignore it?
It depends on how good a friend you are to them, right ;-)?
https://github.com/progit/progit2/issues?q=is%3Aissue%20state%3Aopen%20PREFIX
seems to say that the issue has not been reported, and doing so
might be a good first step.
We'd probably want a bit of history digging to see if we ever
supported "$PREFIX/etc/gitconfig" before opening that issue, though.
How to phrase the issue would be different between "we used to but
no longer support this since version X" and "we never supported such
a variable". This is a #leftoverbit for those without a lot of
coding skills but patience, being good at using "git blame", and a
good notetaking skills to summarize findings, are needed.
Another good thing to do is to match the environment variables and
their descriptions we have in the output from "git help git" with
that page. We may have acquired a few more of them since that page
of the book was written 10 years ago, for example. This would be a
good #leftoverbit for those without any coding experience but want
to improve the documentation that exists in the overall ecosystem.
Thanks.
next prev parent reply other threads:[~2025-01-30 21:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-29 16:34 [BUG] PREFIX environment variable ignored by git config --system rsbecker
2025-01-29 16:41 ` Junio C Hamano
2025-01-29 17:01 ` rsbecker
2025-01-29 20:15 ` Junio C Hamano
2025-01-29 20:33 ` rsbecker
2025-01-29 23:36 ` Junio C Hamano
2025-01-29 23:49 ` rsbecker
2025-01-29 23:53 ` Junio C Hamano
2025-01-30 0:07 ` rsbecker
2025-01-30 0:23 ` Junio C Hamano
2025-01-30 0:37 ` rsbecker
2025-01-30 19:37 ` Ben Knoble
2025-01-30 21:57 ` Junio C Hamano [this message]
2025-01-29 18:20 ` rsbecker
2025-01-29 23:48 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqldusarsa.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=rsbecker@nexbridge.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).