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

Re: curious about wording in "man git-config", ENVIRONMENT

From
Jeff King <peff@peff.net>
Date
Jun 28, 2018, 18:17 UTC
Message-ID
<20180628181751.GA3693@sigill.intra.peff.net>
In-Reply-To
<alpine.LFD.2.21.1806261250280.6102@localhost.localdomain>
On Tue, Jun 26, 2018 at 12:51:45PM -0400, Robert P. J. Day wrote:
Show 13 quoted lines
> > I agree it's weird. I think it's trying to mean "behaves as if it
> > was set to", but with the additional notion that the command-line
> > argument would take precedence over the environment (which is our
> > usual rule). But then we should just say those things explicitly.
> >
> > Just looking at mentions of GIT_CONFIG in that manpage and knowing
> > the history, I think:
> 
>   ... snip ...
> 
> i'm just going to admit that i don't quite have the background to know
> how to submit a patch to tidy things up based on Jeff's analysis, so
> I'm going to leave this to someone higher up the food chain.
There's some related discussion going on in:
  https://public-inbox.org/git/20180627045637.13818-1-tmz@pobox.com/

I think it makes sense to wait for that to settle and then I may try to build on top.

-Peff
Previous: Robert P. J. Day
Message 4 of 4 in “curious about wording in "man git-config", ENVIRONMENT”
  1. Robert P. J. DayJun 26, 2018
  2. Jeff KingJun 26, 2018
  3. Robert P. J. DayJun 26, 2018
  4. Jeff KingJun 28, 2018

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.