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

Re: [PATCH] git-config: update doc for --get with multiple values

From
Jeff King <peff@peff.net>
Date
Jul 3, 2013, 18:32 UTC
Message-ID
<20130703183212.GA32043@sigill.intra.peff.net>
In-Reply-To
<41dc25ceac50731a7c5da753c04b7c13c41c1b51.1372876047.git.john@keeping.me.uk>
On Wed, Jul 03, 2013 at 07:27:39PM +0100, John Keeping wrote:
> Since commit 00b347d (git-config: do not complain about duplicate
> entries, 2012-10-23), "git config --get" does not exit with an error if
> there are multiple values for the specified key but instead returns the
> last value.  Update the documentation to reflect this.
Thanks for catching this. Patch looks good.

There is another section later in the documentation which details the various exit codes and what they mean. But it seems to have never actually documented this case, so we don't need to update it. :)

-Peff
Previous: John KeepingNext: Junio C Hamano
Message 2 of 7 in “git-config: update doc for --get with multiple values”
  1. git-config: update doc for --get with multiple valuesJohn Keeping, Jul 3, 2013
  2. Jeff KingJul 3, 2013
  3. Junio C HamanoJul 3, 2013
  4. John KeepingJul 7, 2013
  5. Junio C HamanoJul 7, 2013
  6. git-config(1): clarify precedence of multiple valuesJohn Keeping, Jul 7, 2013
  7. Jeff KingJul 7, 2013

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.