From patchwork Mon Apr 19 15:56:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 12212171 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0850C433B4 for ; Mon, 19 Apr 2021 15:55:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 89A2361285 for ; Mon, 19 Apr 2021 15:55:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240360AbhDSPzv (ORCPT ); Mon, 19 Apr 2021 11:55:51 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:38741 "EHLO wout4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240142AbhDSPzu (ORCPT ); Mon, 19 Apr 2021 11:55:50 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 657A510C9; Mon, 19 Apr 2021 11:55:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 19 Apr 2021 11:55:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=date :from:to:cc:subject:message-id:mime-version:content-type; s=fm3; bh=07k8d7eGrBrDwdaxlyKibCs2VHC5FCp3NWEMlOx+ZtA=; b=cLBDA/eBtJ5+ uANsXpwg0TRBFnhVy4zK05OjbZ+m/lB1srKcga2Bjh9Ql/7QklHPqqBzfK6pffa0 mrOxyUPXkZfn0T2sfbZiqTB9CdWE4PAHfWSQw0LdxyG2hOBPxqpoI4K/X8lkkEfC WFdknb/L0UtbnbgVVciu1pzMr8hRr8+EzesoM6DxM/iyN6puMc2POzWJhzvXv8CM Ogy1vWA56NRbdjiLKb/SaEBKKHsqPS6hvYjk6zeQYvJSV3IAlyfFQLHjsKxXlwOQ 2XfjA/6ZIMq+NVERMTjGfAL60NadD+l7HOnn3LS70W/Lhh9BrbhuPgGFRWB/EsJi +7gyoPdCHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=07k8d7eGrBrDwdaxlyKibCs2VHC5F Cp3NWEMlOx+ZtA=; b=e1g6t6GR7qliqRcksuZApakrbzQ7KwIipCSpoU/yC/9Ks IoFe+A+cmL2sDAblfTBbr9SNjV8qLH4PhqMI2yP0hpvBWdSfy+rNfH064zcdm6FZ cYBQh3nNRD2uNaO+1dh9e22pBMt04BLh2YHHZZYFcdEEWv23W9ulu9AYjeas0D1Q JrlfYScvjAE+Xh8t/4njsnIZTiCldNYE36CeAUm2PJTVzsRVlBZ3ISEi7bbi5Ql9 snmIm2eLyYiGAo5THBKYSQ7YDvS+nbG2/lq3S202TrE0WAUQtxdqPFH6wi6Mw6/H zODwGNVLp0sp/H6kM1JnzTC6Kjx5FoTr8NXKhvGzA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtgedgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesghdtreertd dtudenucfhrhhomheprfgrthhrihgtkhcuufhtvghinhhhrghrughtuceophhssehpkhhs rdhimheqnecuggftrfgrthhtvghrnhepgeefkeeivdffudejjefgheegfefgleevueeige efjeetffdvhfduteeiueehheevnecukfhppeejjedrudeluddrieekrdektdenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpshesphhkshdrih hm X-ME-Proxy: Received: from vm-mail.pks.im (x4dbf4450.dyn.telefonica.de [77.191.68.80]) by mail.messagingengine.com (Postfix) with ESMTPA id ED817240054; Mon, 19 Apr 2021 11:55:18 -0400 (EDT) Received: from localhost (tanuki [10.192.0.23]) by vm-mail.pks.im (OpenSMTPD) with ESMTPSA id 5564e2d1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 19 Apr 2021 15:55:17 +0000 (UTC) Date: Mon, 19 Apr 2021 17:56:45 +0200 From: Patrick Steinhardt To: git@vger.kernel.org Cc: =?iso-8859-1?q?=C6var_Arnfj=F6r=F0?= Bjarmason , Jeff King Subject: [PATCH 0/2] git: support separate arg for `--config-env`'s value Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Hi, As pointed out by Ævar, the synopsis in the git(1) manpage was misdocumenting the syntax of the `--config-env` option. This patch series fixes it and also addresses the shortcoming that while most of the other options support both `--git-dir=foo` and `--git-dir foo`, `--config-env` only supported the former format. I'm happy to drop the latter patch if it's generally seen as something that's not needed, but Ævar and Peff got a point in that it feels inconsistent with the other options. Patrick Patrick Steinhardt (2): git.txt: fix synopsis of `--config-env` missing the equals sign git: support separate arg for `--config-env`'s value Documentation/git.txt | 2 +- git.c | 8 ++++++++ t/t1300-config.sh | 15 ++++++++++++++- 3 files changed, 23 insertions(+), 2 deletions(-)