From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id F30E61F47C for ; Sat, 14 Jan 2023 01:33:14 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=X/r4jT+z; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231337AbjANBdF (ORCPT ); Fri, 13 Jan 2023 20:33:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230037AbjANBdC (ORCPT ); Fri, 13 Jan 2023 20:33:02 -0500 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 701D81AA1D for ; Fri, 13 Jan 2023 17:33:01 -0800 (PST) Received: by mail-pj1-x102b.google.com with SMTP id o1-20020a17090a678100b00219cf69e5f0so28668098pjj.2 for ; Fri, 13 Jan 2023 17:33:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=GTy7oW9ZCO4pgl7iQosEEW4N4jxircII+ig0KaFV1Gk=; b=X/r4jT+zq6jV0Z2he7BvlFWt0HJqfrsq2F8uN3grVx1bMc1Mup4qH5A6EEMt7VrGKc fj+M7mNsv/m66Qqf+QmTkeQnINPsiJyZdUhT5O1rZL6O4HtYDaEqwceb8K9xkvdFZqur 3Qf4ts5foQLurORnoPkLq86dAw41swB3GuwLROu2gjSgvxTC2am4VXm/m58hZe0yWweI T0+5TI6IWg2uHKDOP+Hsqpa3RbrcNLofi03UvJl4xNlTYjnlHw09aqP2NuZ4MF2QRVvw j+DVpPFQzm2lmEyNn+EAQaBDxnzdNuYoft4OLhJxGjwWzsCkr8sjuZ78U6Kcdg03stdR xKAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:sender:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=GTy7oW9ZCO4pgl7iQosEEW4N4jxircII+ig0KaFV1Gk=; b=xYHdpcYO6FEJPMRnuF+JtorJ/AULBm8NhQZKQDaIBOJv4yEsGj0nMsTEAsGXZqkTnO 2VrPEtnvs8GJo5DOfZc+bHjwb42hMFyL1ik/gZQ79sGc5ESuJ/smXjDB4+/9lLw7hVO4 MByB2XZgAWkf9/1q7SQhL/XcUrm7FZRrIrC2HFjgWm2JY7l5TkABnIZpM8EYUOUhdEGC DzsAVrvEUz1G4hqDzjzX3TwtiLQZrtOkMCfdadntQC889yfvf+uNpJvh0JAFtaNZmsF8 ktdgVj5hp37HZMJSVbaur6P6zVLMur0UTfAGrJbzGJzcHQqV5vBp4UihoNgWMc5+RtSp rNVQ== X-Gm-Message-State: AFqh2kp6NTwvGW5vr/SXDaxeszDNBfDJqKgujDZfunlBfcpLKkOdnGHc b11ynV2rnun9PqD375WUpa6uhT5ie4k= X-Google-Smtp-Source: AMrXdXsO49hlFRR0BCWm4lOBNCWS8v0YLcZ9YQmgGJt0/sjLJ3Tgw0eMrYilVo9AB3kqV++H+AIzGQ== X-Received: by 2002:a17:903:330b:b0:193:30be:d146 with SMTP id jk11-20020a170903330b00b0019330bed146mr19467744plb.63.1673659980798; Fri, 13 Jan 2023 17:33:00 -0800 (PST) Received: from localhost (33.5.83.34.bc.googleusercontent.com. [34.83.5.33]) by smtp.gmail.com with ESMTPSA id n13-20020a170903110d00b001925ec4664esm14789931plh.172.2023.01.13.17.33.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 17:33:00 -0800 (PST) Sender: Junio C Hamano From: Junio C Hamano To: muzimuzhi Z Cc: Clemens Buchacher , git@vger.kernel.org Subject: Re: [PATCH v2] doc: fix non-existent config name References: Date: Fri, 13 Jan 2023 17:33:00 -0800 In-Reply-To: (muzimuzhi Z.'s message of "Sat, 14 Jan 2023 09:12:12 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org muzimuzhi Z writes: > From c879cb10f61afc361c484267f498d5815bc1b932 Mon Sep 17 00:00:00 2001 > From: muzimuzhi The "author identity" is taken from this line (or from the e-mail header), and it should be identical to your sign-off. > Date: Mon, 9 Jan 2023 06:37:47 +0800 > Subject: [PATCH v2] doc: fix non-existent config name In general, there shouldn't be a reason to include the above four lines in your message body. An exception is "From:" to override the author identity when you cannot send your e-mail using the same name as what is used on your sign-off. See Discussion section of "git am" manual page. > Replace non-existent `branch..fetch` to `remote..fetch`, in > the first example in `git-fetch` doc, which was introduced in > d504f6975d (modernize fetch/merge/pull examples, 2009-10-21). > > Rename placeholder `` to ``, to be consistent with all other > uses in git docs, except that `git-config.txt` uses `remote..fetch` in > its "Variables" section. > > Also add missing monospace markups. > > Signed-off-by: Yukai Chou Perfect. Will queue. > Changes compared to PATCH v1: > - Update commit reference in a non-shallow clone, resulting in longer > Great. > diff --git a/Documentation/git-fetch.txt b/Documentation/git-fetch.txt > index 63d9569e16..fba66f1460 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..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..fetch` option is used to specify a > +non-default refspec. > > * Using refspecs explicitly: > +