From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 75D8B1F5AE for ; Fri, 14 May 2021 05:30:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230253AbhENFbY (ORCPT ); Fri, 14 May 2021 01:31:24 -0400 Received: from cloud.peff.net ([104.130.231.41]:54392 "EHLO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229819AbhENFbV (ORCPT ); Fri, 14 May 2021 01:31:21 -0400 Received: (qmail 16844 invoked by uid 109); 14 May 2021 05:30:10 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Fri, 14 May 2021 05:30:10 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 30480 invoked by uid 111); 14 May 2021 05:30:11 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Fri, 14 May 2021 01:30:11 -0400 Authentication-Results: peff.net; auth=none Date: Fri, 14 May 2021 01:30:09 -0400 From: Jeff King To: Martin =?utf-8?B?w4VncmVu?= Cc: git@vger.kernel.org Subject: Re: [PATCH 3/6] git-check-ref-format.txt: avoid single quote Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Thu, May 13, 2021 at 08:17:42PM +0200, Martin Ă…gren wrote: > -. A colon `:` is used as in `srcref:dstref` to mean "use srcref\'s > - value and store it in dstref" in fetch and push operations. > +. A colon `:` is used as in `srcref:dstref` to mean "use the value > + of `srcref` and store it in `dstref`" in fetch and push operations. > It may also be used to select a specific object such as with > - 'git cat-file': "git cat-file blob v1.3.3:refs.c". > + 'git cat-file': `git cat-file blob v1.3.3:refs.c`. I'd perhaps write: `srcref`'s value... but I'm a little afraid to see how it is handled by the various parsers (I'd write it because it does look OK in most markdown parsers I've used). That said, I think in this case "value of `srcref`" is actually an improvement to the text (but I wouldn't say the same of the earlier patches, which feel like they are making things clunkier). -Peff