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

Re: [PATCH] doc: fix non-existing config name

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 13, 2023, 17:54 UTC
Message-ID
<xmqqo7r248x9.fsf@gitster.g>
In-Reply-To
<CAEg0tHQtf9G0N24Xfe-gvRM1AFaiS_ApcuQ8hZtsZAeMhhVWAQ@mail.gmail.com>
muzimuzhi Z <muzimuzhi@gmail.com> writes:
Show 12 quoted lines
> Somehow My last mail failed to sent to Clemens Buchacher (drizzd@aon.at):
>
>> 550 5.7.1 <drizzd@aon.at>: Recipient address rejected: mailbox not found
>
> I found two lines about Clemens in `.mailmap` (see below) [1] and
> drizzd@gmx.net was used last time when Clemens mailed to the current
> mailing list in Feb 2019 [2].
>
>     Clemens Buchacher <drizzd@gmx.net> <drizzd@aon.at>
>     Clemens Buchacher <drizzd@gmx.net> <clemens.buchacher@intel.com>
>
> Thus I added drizzd@gmx.net to cc.
Thanks for the above explanation.
> yukai

Is that your name, or is it "muzimuzhi Z"? Please see and follow Documentation/SubmittingPatches:[[sign-off]] and [[real-name]] sections.

The patch, including the proposed log message, looks excellent.
Thanks.
Show 36 quoted lines
>> Replace non-existent `branch.<name>.fetch` to `remote.<repository>.fetch`, in
>> the first example in `git-fetch` doc, which was introduced in
>> d504f69 (modernize fetch/merge/pull examples, 2009-10-21).
>>
>> Rename placeholder `<name>` to `<repository>`, to be consistent with all other
>> uses in git docs, except that `git-config.txt` uses `remote.<name>.fetch` in
>> its "Variables" section.
>>
>> Also add missing monospace markups.
>>
>> Signed-off-by: muzimuzhi <muzimuzhi@gmail.com>
>> ---
>>  Documentation/git-fetch.txt | 8 ++++----
>>  1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/Documentation/git-fetch.txt b/Documentation/git-fetch.txt
>> index 63d9569..fba66f1 100644
>> --- a/Documentation/git-fetch.txt
>> +++ b/Documentation/git-fetch.txt
>> @@ -251,10 +251,10 @@ EXAMPLES
>>  $ git fetch origin
>>  ------------------------------------------------
>>  +
>> -The above command copies all branches from the remote refs/heads/
>> -namespace and stores them to the local refs/remotes/origin/ namespace,
>> -unless the branch.<name>.fetch option is used to specify a non-default
>> -refspec.
>> +The above command copies all branches from the remote `refs/heads/`
>> +namespace and stores them to the local `refs/remotes/origin/` namespace,
>> +unless the `remote.<repository>.fetch` option is used to specify a
>> +non-default refspec.
>>
>>  * Using refspecs explicitly:
>>  +
>> --
>> 2.39.0
Previous: muzimuzhi ZNext: muzimuzhi Z
Message 5 of 7 in “Did config `branch.<name>.fetch` ever exist?”
  1. muzimuzhi ZJan 7, 2023
  2. Junio C HamanoJan 8, 2023
  3. doc: fix non-existing config namemuzimuzhi Z, Jan 9, 2023
  4. muzimuzhi ZJan 9, 2023
  5. Junio C HamanoJan 13, 2023
  6. doc: fix non-existent config namemuzimuzhi Z, Jan 14, 2023
  7. Junio C HamanoJan 14, 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.