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.7 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 CEE6F1F5AE for ; Fri, 23 Apr 2021 20:40:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243988AbhDWUlV (ORCPT ); Fri, 23 Apr 2021 16:41:21 -0400 Received: from mail-ed1-f41.google.com ([209.85.208.41]:33566 "EHLO mail-ed1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243932AbhDWUlU (ORCPT ); Fri, 23 Apr 2021 16:41:20 -0400 Received: by mail-ed1-f41.google.com with SMTP id cq11so15187808edb.0 for ; Fri, 23 Apr 2021 13:40:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aTqObfOhrLbWTFX0Q1ScrfypeNrvfCTFlLn7tMaomf8=; b=ParMkcs5SbhI2KCx+P+rLRQ22LWnjeIuQxUi9loDpSubOlNscQWyrTcYyRMLD8FZ/H hm3NxOWI+9I6ehG5VpjYqStzF3L8rhY9q2xddjC7I2YwGYBVkRY8u4lSlPdtRHfuBmvh oMzCaLicX/UPoGzAbhH10VkuTZys6eWuojCeCRJARGZsIkubpC3lZKK0OONRO1k9Mxhw Y7SCaSv4AdpS8Oh2TrrRwiq6lyjbOW/Nm+HNnTmOLg/dKsASmCS/RULD3w1H7iBwyPC4 /IMEERHF3mwn+Q/3nGGvqqX43M8ziO06IMGgj58N0vQLYmDeXwFbAYiTAu3lJxI8vRTZ pIEw== X-Gm-Message-State: AOAM532jT5w4lertVy2bjj3rqSoixwOIRzPdz+psR/soWbBqREvkoUsN Q0TximA760N+BH7qo7eC/zsP27sxyonhdvm0kTI= X-Google-Smtp-Source: ABdhPJyaxAYnVdosb27ykguEm1gnVBg5BDdnSgFyWIljOvn3uNidT9w0zVMLgLqNjGb7oEpkBR2mVHI8qqvwydgQVJ4= X-Received: by 2002:a05:6402:488:: with SMTP id k8mr6548448edv.233.1619210442669; Fri, 23 Apr 2021 13:40:42 -0700 (PDT) MIME-Version: 1.0 References: <20210423194230.1388945-1-lukeshu@lukeshu.com> <20210423194230.1388945-19-lukeshu@lukeshu.com> In-Reply-To: <20210423194230.1388945-19-lukeshu@lukeshu.com> From: Eric Sunshine Date: Fri, 23 Apr 2021 16:40:31 -0400 Message-ID: Subject: Re: [PATCH 18/30] subtree: use $* instead of $@ as appropriate To: Luke Shumaker Cc: Git List , Avery Pennarun , Charles Bailey , Danny Lin , "David A . Greene" , David Aguilar , Jakub Suder , James Denholm , Jeff King , Jonathan Nieder , Junio C Hamano , =?UTF-8?B?Tmd1eeG7hW4gVGjDoWkgTmfhu41jIER1eQ==?= , Roger L Strain , Techlive Zheng , Luke Shumaker Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Fri, Apr 23, 2021 at 3:43 PM Luke Shumaker wrote: > $* is for when you want to smash things together, whitespace-separated; > $@ is for when you want them to be separate strings. There are a couple > of places in subtree that erroneously use $@ when smashing args together > in to an error message. Can we be explicit and say "$@" in the commit message rather than bare $@ since the unquoted form is not magical and acts exactly like $*. Also: s/in to/into/ Nit: I have some trouble following what the commit message is actually trying to say with "smash things" and "separate strings". It might be simpler to say merely that use of "$@" in these particular instances is overkill and possibly misleading to readers not familiar with the finer details of $* vs. "$@". The patch itself makes sense.