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

Re: [PATCH] doc: mention `git -c` in git-config(1)

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 12, 2016, 01:54 UTC
Message-ID
<xmqqeg4p6fxb.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAN7QDoJOzVvCzM80v=jP7RTB0od4exFLMZGkvPx9Uz6Lkm16Tg@mail.gmail.com>
David Glasser <glasser@davidglasser.net> writes:
Show 9 quoted lines
> On Tue, Aug 23, 2016 at 11:02 AM, Junio C Hamano <gitster@pobox.com> wrote:
>> David Glasser <glasser@davidglasser.net> writes:
>>
>> That might be something we want to fix up further in later patches;
>> the change we see in this patch is good regardless.
>
>
> Perhaps I am looking at the wrong branch, but I'm not sure that this
> got merged? Is there something I should do to move this along?

Are you asking about "might be something we want to fix up further", which I do not think anybody did (and you certainly didn't)?

The patch that was commented on in that exchange should be part of v2.10.0 already.

$ git blame -s -L264,269 v2.10.0 Documentation/git-config.txt 7da9800f 264) values of a key from all files will be used. 7da9800f 265) ae1f7094 266) You may override individual configuration parameters when running any git ae1f7094 267) command by using the `-c` option. See linkgit:git[1] for details. ae1f7094 268) 17014090 269) All writing options will per default write to the repository specific

$ git show ae1f7094
commit ae1f7094f7a68fcff3d07358d83f5f483f0c300c
Author: David Glasser <glasser@davidglasser.net>
Date:   Tue Aug 23 10:33:21 2016 -0700
    doc: mention `git -c` in git-config(1)
    
    Signed-off-by: David Glasser <glasser@davidglasser.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 6843114..636b3eb 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -263,6 +263,9 @@ The files are read in the order given above, with last value found taking
 precedence over values read earlier.  When multiple values are taken then all
 values of a key from all files will be used.
 
+You may override individual configuration parameters when running any git
+command by using the `-c` option. See linkgit:git[1] for details.
+
 All writing options will per default write to the repository specific
 configuration file. Note that this also affects options like '--replace-all'
 and '--unset'. *'git config' will only ever change one file at a time*.
Previous: David GlasserNext: David Glasser
Message 4 of 5 in “doc: mention `git -c` in git-config(1)”
  1. doc: mention `git -c` in git-config(1)David Glasser, Aug 23, 2016
  2. Junio C HamanoAug 23, 2016
  3. David GlasserSep 12, 2016
  4. Junio C HamanoSep 12, 2016
  5. David GlasserSep 12, 2016

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.