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

Re: "man git-config", "--list" option misleadingly refers to "config file" (singular)

From
Jeff King <peff@peff.net>
Date
Oct 3, 2017, 23:12 UTC
Message-ID
<20171003231242.oem4equq6cvicxcw@sigill.intra.peff.net>
In-Reply-To
<alpine.LFD.2.21.1710031653360.8461@localhost.localdomain>
On Tue, Oct 03, 2017 at 04:54:32PM -0400, Robert P. J. Day wrote:
Show 12 quoted lines
> > It does that by default, or it lists the contents of a specific file
> > if given (either by --file, or with --system, --global, or --local).
> >
> > So I agree it's not quite accurate, but you probably want some
> > phrasing that leaves this unsaid (the actual rules are described
> > earlier in the description section). Maybe just refer to it as the
> > "config source" or something?
> 
>   i think the simplest phrasing is, "List all variables set in the
> current configuration, along with their values."
> 
>   sound fair?
Yes, sounds reasonable to me.
-Peff
Previous: Robert P. J. Day
Message 4 of 4 in “"man git-config", "--list" option misleadingly refers to "config file" (singular)”
  1. rpjday@crashcourse.caOct 3, 2017
  2. Jeff KingOct 3, 2017
  3. Robert P. J. DayOct 3, 2017
  4. Jeff KingOct 3, 2017

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.