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

Re: BUG: git config --global --get ITEM ignores ~/.config/git/config when ~/.gitconfig is present

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 11, 2023, 01:33 UTC
Message-ID
<xmqqsffdf0ji.fsf@gitster.g>
In-Reply-To
<CAFA9we-QLQRzJdGMMCPatmfrk1oHeiUu9msMRXXk1MLE5HRxBQ@mail.gmail.com>
Jade Lovelace <lists@jade.fyi> writes:
Show 5 quoted lines
> Then:
>
>  » git config --global --get user.name
>  » git config --show-scope --show-origin --get user.name
> global  file:/home/jade/.config/git/config      Jade Lovelace
With "--get" replaced with "--get-all", what do you see?
Previous: Jade LovelaceNext: Jade Lovelace
Message 2 of 7 in “BUG: git config --global --get ITEM ignores ~/.config/git/config when ~/.gitconfig is present”
  1. Jade LovelaceFeb 11, 2023
  2. Junio C HamanoFeb 11, 2023
  3. Jade LovelaceFeb 11, 2023
  4. Junio C HamanoFeb 11, 2023
  5. Junio C HamanoFeb 11, 2023
  6. Glen ChooFeb 15, 2023
  7. Junio C HamanoFeb 15, 2023

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.