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.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 0E9B71F852 for ; Thu, 27 Jan 2022 02:58:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229882AbiA0C65 (ORCPT ); Wed, 26 Jan 2022 21:58:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbiA0C6y (ORCPT ); Wed, 26 Jan 2022 21:58:54 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7369BC06161C for ; Wed, 26 Jan 2022 18:58:54 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id p15so2639352ejc.7 for ; Wed, 26 Jan 2022 18:58:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=SHz1kmIKzOpdKfGs0yoritJqxQLrLag3rM4B2Efn1o8=; b=ihOvRKg1AOuzv6ek2DK6zelPvEmq7n/KLPYLtv19W7pUloCbYA4e7sj23H+9zSIiTW mkYP7llyZAx8AKjo08lzPtsPuh6AMUMtUINo+wGCi2rK0x3QC+GP7pR/bgZnEa3zqJST jAaXkcURnciVbnzorERemjlMyDkwLc90vr9WnB89JVYAVyhuhedtDOA9Guxu3pTSXYth En32khw9WPuWzvwIMZozdYW1pbK/SJF0ktctxytGbq6bQ/cYHwVekQGTLFhvWWnHmWhd 6578P0gfNa2wULsMrrVB40B1KRUOl6LJWCdj1uTl2cnY/888AlKJd0d4yOH34LS3qOe5 mVUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=SHz1kmIKzOpdKfGs0yoritJqxQLrLag3rM4B2Efn1o8=; b=x/ugAXasNZnNO75S+wK0E9pTOkLJCUEfVdkwHnvSTdlDL02NblADxzdQjU2ZeSmybU 2Kn9YTLnvFjyOkxIXHdT+77V8TkRHpynyUuMVa+3Hi8QhfaCmv/sAJbh3BqLZJagQ4eR 0HPavyxyuC50mXKwUqONllG5AkSOR2fBeUfLo7gB3RuF4m5VmEXZNrzq3DDcRfknMSqh 2xbktUj06mBse29A/ulJbRzbSQXwti7UhJChTKwwgpkeH2j4v3nYdihqL8E5QHTHJguC hpd5pTJqU9qQZxEffn1VmFckzDYSsq+TG8vCDqzaTReQMUjTCUyMarIGnRAXI23VgsIT dlrw== X-Gm-Message-State: AOAM531SAbXCtTS7PsYOb7N745OylR5vTmI2jI890cZFzx1pgOebCPit UX6/oJYWOX/jpVkf3tSGJvDopraByIz5xw== X-Google-Smtp-Source: ABdhPJwu6mkhqWIteDxphc/JDZI+QLVAgg4O6TXTNxiaKQpKlnO2gZ/vYJ6phRBXFloY0rZFyQ3UeA== X-Received: by 2002:a17:907:3f21:: with SMTP id hq33mr1364238ejc.548.1643252332986; Wed, 26 Jan 2022 18:58:52 -0800 (PST) Received: from gmgdl (j120189.upc-j.chello.nl. [24.132.120.189]) by smtp.gmail.com with ESMTPSA id gg14sm8145009ejb.62.2022.01.26.18.58.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 18:58:52 -0800 (PST) Received: from avar by gmgdl with local (Exim 4.95) (envelope-from ) id 1nCuzr-003G8w-AE; Thu, 27 Jan 2022 03:58:51 +0100 From: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason To: Johannes Schindelin via GitGitGadget Cc: git@vger.kernel.org, Johannes Schindelin , Taylor Blau Subject: Re: [PATCH] scalar: accept -C and -c options before the subcommand Date: Thu, 27 Jan 2022 03:55:58 +0100 References: User-agent: Debian GNU/Linux bookworm/sid; Emacs 27.1; mu4e 1.6.10 In-reply-to: Message-ID: <220127.86v8y5dgus.gmgdl@evledraar.gmail.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Wed, Jan 26 2022, Johannes Schindelin via GitGitGadget wrote: > From: Johannes Schindelin > > The `git` executable has these two very useful options: > > -C : > switch to the specified directory before performing any actions > > -c =: > temporarily configure this setting for the duration of the > specified scalar subcommand > > With this commit, we teach the `scalar` executable the same trick. > > Signed-off-by: Johannes Schindelin > --- > scalar: accept -C and -c options > > This makes the scalar command a bit more handy by offering the same -c > = and -C options as the git command. > > Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1130%2Fdscho%2Fscalar-c-and-C-v1 > Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1130/dscho/scalar-c-and-C-v1 > Pull-Request: https://github.com/gitgitgadget/git/pull/1130 I think it would help for context to note that this patch had at least 6 submissions on the ML already as part of early versions of the scalar series. Here's the CL of the iteration that ejected it: https://lore.kernel.org/git/pull.1005.v7.git.1637158762.gitgitgadget@gmail.com/ Where you summarized: * The patch that adds support for -c = and -C was moved to its own add-on patch series: While it is obvious that those options are valuable to have, an open question is whether there are other "pre-command" options in git that would be useful, too, and I would like to postpone that discussion to that date. Having been involved in those discussions I can't remember what the pre-command options you're referring to there are, but it seems "that date" is probably upon us.