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

Re: [PATCH] doc: add --show-names for git config

From
Yukai Chou <muzimuzhi@gmail.com>
Date
Aug 19, 2024, 00:59 UTC
Message-ID
<CAEg0tHRave5gCWeFuTFeZiR0U=R-bnW6tYGXJp9GQP=oVh5gRg@mail.gmail.com>
In-Reply-To
<CAEg0tHRL9+tqY0k2GiGzhc-VgMVsHqppLRFHbc=M33R6AoLXEg@mail.gmail.com>
> +--show-names::
> + Output also the names of config variables for `list` or
> + `get`.
> +

A bit of inconsistency: both singular (`--name-only` [1]) and plural (`--show-names`) forms are used in similar git-config(1) options.

As both `--show-origin` and `--show-scope` use the singular forms, perhaps `--show-names` can be renamed to `--show-name` too?

[1]: https://git-scm.com/docs/git-config#Documentation/git-config.txt---name-only
Previous: Yukai ChouNext: Junio C Hamano
Message 2 of 9 in “doc: add --show-names for git config”
  1. doc: add --show-names for git configYukai Chou, Aug 19, 2024
  2. Yukai ChouAug 19, 2024
  3. Junio C HamanoAug 19, 2024
  4. doc: add --show-names for git configYukai Chou, Aug 19, 2024
  5. Junio C HamanoAug 19, 2024
  6. Patrick SteinhardtAug 21, 2024
  7. Junio C HamanoAug 21, 2024
  8. Patrick SteinhardtAug 21, 2024
  9. Junio C HamanoAug 21, 2024

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.