From patchwork Fri May 3 09:56:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 13652599 Received: from wfhigh8-smtp.messagingengine.com (wfhigh8-smtp.messagingengine.com [64.147.123.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4763114F9D4 for ; Fri, 3 May 2024 09:57:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714730221; cv=none; b=fSXT1kDR06bS8uoehVy1HQVxriocZs8ItTHiHNzQ6Z0VSlpRVStiavF6pu029eoZ5/WHh7JH5pCFIq7i1ADQNiprOT/1/bTS6OrZYuopM3DYaZVQy7k8DuOvHVKn7SMjONbKMQHW56Txu6z32HEfd1V4OHDtYruolc+fcqcwlaQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714730221; c=relaxed/simple; bh=3VF3B5+NxibywnMZl6zbr9tCN6MrYF6m36hfY7/PCM8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HKOzeETXgRGK+aw23Qegrjpy8FOAbbsC5CZWjIixI3Cu4fXt0oyaeOOUM/QT0VI9tIDJ3+yijzkv9KWToq0ePG5oD5oFS8ut4aM0gLlyC+18BIiLiTBQJMgylcW2IjNdKqxiwJovwqxgY5ki1pfXqJ0TuSZWTX2fT9YPtb2VoDM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b=mqEu8+ct; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=OhCrdtM4; arc=none smtp.client-ip=64.147.123.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pks.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pks.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="mqEu8+ct"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="OhCrdtM4" Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id 2574B180007F; Fri, 3 May 2024 05:56:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 03 May 2024 05:56:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1714730218; x=1714816618; bh=4TXdXIuu/J OBruw3/VaPAWBorp5L5GS7sh6+ZNfHvsM=; b=mqEu8+ctBMdUINF6aN3LbMPzoT X69h537E4SsEXrx+yiZBrhMTt5Dhn1uORzmrXVc5I9+9Y1l0fruCwU6hOngC3Hm7 yaEEXZOBYAP+a8bL/N2CWxwYGwjeJXmvfP3qHmbq3jfwSyog5JUaSgBMmcPU1iAw oBNL9X3QSfWcCoxciWdnq9WKu/NoKFdys+imwFHvR59AkO4ZctHJK2AJd5XoCDxP xM+T/8k4awxMQlcBzofKedvooSIjizQyZ4LE1zBlet0PxS2T0SeJtNyPRXQK2D8z 63K35+VCXB6V0p/2BJojDNN/1MI/TjuC8MO+sS/jNs5faJxpHXLrt2+eRyjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1714730218; x=1714816618; bh=4TXdXIuu/JOBruw3/VaPAWBorp5L 5GS7sh6+ZNfHvsM=; b=OhCrdtM4sOBAuE5vl5vInDdgsfIi5xOJH2IpXlCPyC65 WQ2fPLjVr9tWWPqr0QQ8pklKSY7UyhGgCSOd+ME1M6gspKHcTjCwv1H/vK+aB72r a8vCcPpUyhbtnp2WdFIsLW5SYwQUkmmBs/Hk7wjPeRC0ot8rv53S3jR58fteOqvJ uBw6NDORHpmu+IBD0a2UDN30L2r68oNJR8oeksg5X1nh/uYv+IDW0v6oRwOX7wY1 bk9LBLsaCv7V1gYYtEFwwKoUrLupKX5hqXr0YD5ObxmlEm9ODMZl09bJXsYKz+M4 duFu2JSmiF010otvugr647C+f6dV9aCMeUHhbNf/kA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddvtddgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomheprfgrthhr ihgtkhcuufhtvghinhhhrghrughtuceophhssehpkhhsrdhimheqnecuggftrfgrthhtvg hrnhepueektdevtdffveeljeetgfehheeigeekleduvdeffeeghefgledttdehjeelffet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhsse hpkhhsrdhimh X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 May 2024 05:56:57 -0400 (EDT) Received: by localhost (OpenSMTPD) with ESMTPSA id ade386b0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 3 May 2024 09:56:29 +0000 (UTC) Date: Fri, 3 May 2024 11:56:55 +0200 From: Patrick Steinhardt To: git@vger.kernel.org Cc: Kristoffer Haugsbakk , Taylor Blau , =?iso-8859-1?q?Jean-No=EBl?= AVILA , Eric Sunshine , Junio C Hamano Subject: [PATCH v4 03/14] builtin/config: move "fixed-value" option to correct group Message-ID: References: Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: The `--fixed-value` option can be used to alter how the value-pattern parameter is interpreted for the various submodes of git-config(1). But while it is an option, it is currently listed as part of the submodes group the command, which is wrong. Move the option to the "Other" group, which hosts the various options known to git-config(1). Signed-off-by: Patrick Steinhardt --- builtin/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/config.c b/builtin/config.c index 59ae5996eb..054019b70c 100644 --- a/builtin/config.c +++ b/builtin/config.c @@ -643,7 +643,6 @@ static struct option builtin_config_options[] = { OPT_BIT(0, "rename-section", &actions, N_("rename section: old-name new-name"), ACTION_RENAME_SECTION), OPT_BIT(0, "remove-section", &actions, N_("remove a section: name"), ACTION_REMOVE_SECTION), OPT_BIT('l', "list", &actions, N_("list all"), ACTION_LIST), - OPT_BOOL(0, "fixed-value", &fixed_value, N_("use string equality when comparing values to 'value-pattern'")), OPT_BIT('e', "edit", &actions, N_("open an editor"), ACTION_EDIT), OPT_BIT(0, "get-color", &actions, N_("find the color configured: slot [default]"), ACTION_GET_COLOR), OPT_BIT(0, "get-colorbool", &actions, N_("find the color setting: slot [stdout-is-tty]"), ACTION_GET_COLORBOOL), @@ -663,6 +662,7 @@ static struct option builtin_config_options[] = { OPT_BOOL(0, "show-scope", &show_scope, N_("show scope of config (worktree, local, global, system, command)")), OPT_STRING(0, "default", &default_value, N_("value"), N_("with --get, use default value when missing entry")), OPT_STRING(0, "comment", &comment_arg, N_("value"), N_("human-readable comment string (# will be prepended as needed)")), + OPT_BOOL(0, "fixed-value", &fixed_value, N_("use string equality when comparing values to 'value-pattern'")), OPT_END(), };