Re: [PATCH v2 6/8] maintenance: add ability to pass config options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 28, 2022, 17:07 UTC
- Message-ID
- <xmqq1qzm538p.fsf@gitster.g>
- In-Reply-To
- <CACf-nVeh9p1ba+tPSFQvqDBq3SaNtnhCQMibd__EED0w0Btozg@mail.gmail.com>
Robert Coup <robert@coup.net.nz> writes:
> Ævar pointed out GIT_CONFIG_PARAMETERS has an API to wrap it's use, so > I can adapt the implementation to use that.
Depending on how that "API to wrap" looks like, it may not be a wise idea, though. You'd need to consider how it interacts with those who run "git -c var=val" to enter this codepath.