🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #3625

Re: [PATCH v2 0/3] credential: parse subcommands with OPT_SUBCOMMAND

#3625
From: Junio C Hamano
Date: Mon, 23 Nov 2026 15:34
23 lines
13526 bytes
Laveesh Bansal <laveeshb@laveeshbansal.com> writes:

> Looks good to me, for all three patches. t0300, t0450 and t9902 pass
> for me.

Thanks for taking the time to review and test the series.  It is much
harder to write a positive review than to point out bugs, but
encouraging the authors is always appreciated.

Outside of a trivially obvious fix or a quick nod from a known area
expert (e.g., Dscho or J6t on a Windows-specific patch) or the original
author of the code being touched, it is hard for bystanders to tell from
a one-line "Looks good to me" how deeply the reviewer thought through
the changes.

One trick I sometimes use when giving a positive review is to walk
through the patch aloud, explaining in my own words what the old and new
code do and why the tricky parts are handled correctly.  That way,
others can see that a second pair of eyes really understood and agreed
with the approach (or the author can correct me if I misread something).

Thanks.
Technical Details
Message-ID: <xmqq5wxnd0k5.fsf@gitster.g>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76135-linux-kernel-git=dewy.ru
References: <20261114184752.1417-1-edsonwasswa54@gmail.com> <20261123014412.35076-1-laveeshb@laveeshbansal.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76135-linux-kernel-git=dewy.ru
From: gitster@pobox.com (Junio C Hamano)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v2 0/3] credential: parse subcommands with OPT_SUBCOMMAND
Date: Mon, 23 Nov 2026 07:34:02 -0800
Organization: Usenet Network
Message-ID: <xmqq5wxnd0k5.fsf@gitster.g>
References: <20261114184752.1417-1-edsonwasswa54@gmail.com>
	<20261123014412.35076-1-laveeshb@laveeshbansal.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: usenet.network;
	logging-data="3915410"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:uk0axWSwWWLYXlo8xL1xTzLwziE= sha256:SuNR43Pg7FJPuBYusB/upogklVyDMh5vkU6GEP3agAo=
	sha1:/H9n/w6b3SDC/KD7pVO8w5A+hkM= sha256:1KhliqTtryVXBXCfdpvycKpc6iEx6rQzbTT7gg282nw=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id ECCFD125DBD; Mon, 23 Nov 2026 18:34:37 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=pobox.com header.b=BKbi65E9; dkim=pass (2048-bit key)
	header.d=messagingengine.com header.b=zq7bOTWq
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id E_88AvPLcEG0;
	Mon, 23 Nov 2026 18:34:25 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-76135-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=pobox.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id C0424125DBC; Mon, 23 Nov 2026 18:34:11 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 542A42E2E5; Mon, 23 Nov 2026 15:34:10 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795448048;
	b=mMunlEOfvdqiaZTFv68GsFBCogzo5vremZRYf0srgBHOeRfCRHcKZwtRYPTJJMmXgzVy
	 nhPFfNUMVc8KsHUGZfepkhDX71WCYMVd2kWkR9MJ2wOOJEaXbSX4SV+HzDNWDgZcUm/HW
	 AtLFwYkcwzujoniiJ5rSI2UADKyEQGmuPudiOojWT5fGAG2V12KvrdH3b2Yvb2jsa3cqB
	 S8420Rozf9XnWmWWtLa2G3DMzqZoaMv9Ru+eZ9/6ief7WT6HasR76btr8dkQBZ064k2wS
	 03tfSXE3nsmlu8CIShCVLs50UCO3BDu8oyTWUkBKVxDygRedfXlmrLTTQxMMymDapAA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795448048;
	h=X-Original-To:Received:DMARC-Filter:Received:Received:DKIM-Signature:
	 DKIM-Signature:X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:
	 Message-Instance:X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:
	 X-ME-Proxy:Feedback-ID:Received:From:To:Cc:Subject:In-Reply-To:
	 References:Date:Message-ID:User-Agent:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type;
	bh=7AwPxLVJwGB7FlGlyWXvAD2XJrI7nGrq10Os8RT6JD8=;
	b=UOzAcKGFhN6tpBXsPfJDnMrd5eInMwJqrZ9xq8VOfQo4EQWd9gMpU7HKGzDm7/nOD63F
	 6PQvv9WRixRQBoBWagoC4aEhi1vOKaloRYAZL3HGcrObzvUYTXfq7SNf8eklgeJ8x4ilL
	 A1r30bohb+0bcDVG4ZX3Rw2GknvkkytDAuCI/a7PiTOigfaOfI/d8slDyUhAw0AY+ooFX
	 0/+lUOh8zL2T8cHPgRK+1Umsv+diwU8udquRsEoBGsjaY0x+ZrY23iWI56RIu+EjC1Njf
	 mF57zcahCKYwLJTPKo888YNx4z8x2sTW/qm8IQRoRwBcK2OjIn5mecF+eztLc93pvgw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm2 header.b=BKbi65E9;
	dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=zq7bOTWq;
	dmarc=pass header.from=pobox.com;
	spf=pass smtp.mailfrom=pobox.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C879606A32C;
	Mon, 23 Nov 2026 15:34:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm2 header.b=BKbi65E9;
	dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=zq7bOTWq
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.150
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795448047;
	b=Va3UlVfY5NKy+9Krd6XQc935SHFa/p8aV4hACKWmL9h0wYd2Ory9tSbuA3yuNarveQdQ
	 wMATLoBcRYNV+HgyMIs1Zql7qyo7HkkZapiK51+huWa4ybMV4G6TDftcdL5cWSGyPNzPS
	 eeEL2jt4xLGLuJ/Sz6TfUKWLqVjZwGHHL563+Adu3cQZtpFXDYMAdsobu2JstKynk8xLR
	 mBNRER6h4mOEZFOT9kwlsPU19hdCSvEwBD6CAcsj8o3d/52Mt7yO599iPNlgoQJKQjqKr
	 VyzeFAklHxAJWweFVZu0EnU8XasC1gX2Vs/u+mR1p1Vp0eC6eWgcMFueRWaj0txuETA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795448047;
	h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature:
	 X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance:
	 X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:
	 Received:From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:
	 User-Agent:MIME-Version:Content-Type;
	bh=7AwPxLVJwGB7FlGlyWXvAD2XJrI7nGrq10Os8RT6JD8=;
	b=fDVj1F9UvbjSQ64Z7mZfope+DC/DUJ2fhDLC4JCjXc9utDZSytYZYeU/+rRi41+zFseT
	 BMbfRT485KmAoDCWLpUaKc+saQDVHOR3Us01ntbPSw6NEcjeD7KZ7xdJ1WPeuGAPyEzXe
	 HdXICJDQVKrsbYmdrYNtAfvLzPUXeYCUNGOXb4SZKqa/JRMIr7dJtIJon+RtmfZNw+Ll5
	 bXU3Bsi4DMWrmDLFB87QxMkCXT/h+K1gJWYC76L3R9wMcsaqJERm/SIibDR35kD9L8qZO
	 ydxZPBhLDpTeSOLAiv4EKl6ft24+wC0vRdNmkdOFqrsD6cUSLG6xHMZBA+8K9bRxHhg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=pobox.com;
	spf=pass smtp.mailfrom=pobox.com;
	dkim=pass header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm2 header.b=BKbi65E9;
	dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=zq7bOTWq;
	arc=none smtp.remote-ip=103.168.172.150
X-Received: from fout-a7-smtp.messagingengine.com (fout-a7-smtp.messagingengine.com [103.168.172.150])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E96D606A31A
	for <git@vger.kernel.org>; Mon, 23 Nov 2026 15:34:06 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7E96D606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com
X-Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44])
	by mailfout.phl.internal (Postfix) with ESMTP id 9A04EEC0ABB
	for <git@vger.kernel.org>; Mon, 23 Nov 2026 10:34:05 -0500 (EST)
X-Received: from phl-frontend-01 ([10.202.2.160])
  by phl-compute-04.internal (MEProxy); Mon, 23 Nov 2026 10:34:05 -0500
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; 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=fm2; t=1795448045; x=1795534445; bh=7AwPxLVJwG
	B7FlGlyWXvAD2XJrI7nGrq10Os8RT6JD8=; b=BKbi65E9/IqFfeQvFr42xjx9VW
	+y9JcarRZ8d25E7CslHFNOD44FEfFyg90gxQNe3INrMpRLihgqJHwQhLjTHZ03Qv
	xhNQDxl19JXA91yZz8y9r1vqiUrjtkmz5bBkuiyTwXwOYWAUOJet3nh0C/jMmxkv
	yNH/U1uRKOvO7vXZqQoedad0tqmnJEEAzo08mHt3A7DeBLn6UCXbkOgoCfY8/bUz
	2vdwVeUsyTeT9j+qSFtO7dih1GIJYMPZRJOi/sZdpKXXsW8qUtXFg6I7Uz8Kx53e
	044gD7+DSuZ4yXffothiEtivBeuWfkdZ1Ivxroerl8wW9tdFZ+cLBVKnWfGA==
X-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-sender:x-me-sender:x-sasl-enc; s=fm3; t=
	1795448045; x=1795534445; bh=7AwPxLVJwGB7FlGlyWXvAD2XJrI7nGrq10O
	s8RT6JD8=; b=zq7bOTWqSWIF6u1GCmCB/G1DGHeTF500CW8XeA9BKA4biHF7nqs
	2y6KPWwHdlBq7KlTVBDpMSN8NgO4pSnb0AMixyZ+7vjqHMW2QKacO5KDznKnTdda
	Xy/578yfA8X/eEnldyVDh8AICtvSUqLunLCKve3rLNR9JsreZo1APTZG8tBza+eb
	9ZAZv/zPGg8pYA4znIFlJLoQFbQDMe1S27+7owoApWKghT6a9P6f77djyo6W+fQ3
	fCse6zlGEt896jTGOA/IccPJGgIlGWC1tTf8v2bskTLGREu+NCc9hHF8Gfu7jWOx
	Ys8HtTvFYtv8UQbk5kPNTqQPOyMRwEvYjVg==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09;
	repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox;
	action=sign d=pobox.com a=rsa-sha256;
X-DKIM2-Signature: i=1; m=1; t=1795448045; d=pobox.com;
	mf=PGdpdHN0ZXJAcG9ib3guY29tPg==;
	rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+;
	s=fm2:rsa-sha256:CDp01teUWy/KxAtkS9A+H99F1R6cjpa/s+X+I8HB5+y5r6P
	vIzd5bya2GSIsfz3oJKXSryiBqjZmNiJt9DlvXd1RHoxqyUwYal6e7o75TNUKb8a
	+YFeGEySnTCte/FntpYrlqjl6chuyWFV7hPmQ2pp1g3RITu6fvUFKwYc44NPOoDw
	hPz53X+HXw5q7Rk+eZrVQC5mgufxElTlUcdS+blgWUGCJN/OOcRPd0+tcryqDBK3
	OYMpxqBw9+q3s9fNtC7quOTHAGBdMEHy/fZAqAthbf9Plzu2WuNSa1Rj+aMvVtVm
	3wwLOP44PBO9U3E0wYpXDMlP96pNHcVTjHSF99Q==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09;
	repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox;
	action=mi-m=1; hc=12;
	hn=cc,content-type,date,feedback-id,from,in-reply-to,message-id,
	mime-version,references,subject,to,user-agent;
X-Message-Instance: m=1; h=sha256:wH+QaTKxvUIAV4EjXzgfXDOoWG1ojxb51lQ2Ke3Oxoc=:3kRhvSUkQlwv/IBA1JvcNwGFXR5ATqhMjUYSY7apgjI=;
X-ME-Sender: <xms:7VwEawL2LQYwGOgbSHR43aAVmxMaCP_Zpxu6P4wD-sWuf6EGXx69NA>
    <xme:7VwEa3BxnI0Y3AwdI9KoOEAOYMJPgvfT3Z1xabnksUdRC0AtbQKuj0oi-55mbDwob
    RVv4UW2QtXO__yZkp--INK2kQKO8XK8IuOJXX1d4sM8No4KQreqadU>
X-ME-Received: <xmr:7VwEa5B_2S95r2xugxKKbvG0wSInSXNz63TAS1FGcKN5axnkPXyHTbMkIOt62asK2g9MNl_Wm6WtM4UkYiet08ShzqTFzkBzGPSM6G8>
X-ME-Proxy-Cause: dmFkZTEw7RxEPRfcYiw3fQKrlKlZF3eD1SanuehaeWIbZQ56jeuXcp/+spwF14qyns6qiw
    3aAx6JaYAbHF2WBFFyknWX0cpIChhM9HpMV/ONKwu0qAYabS3ja9ynFspsdDNAXiOOdwwM
    W0/xs+h3m8Od0yGhuE/3kj5HHW6UX+VAGCqggd9MXdEX3g/X6GWF1acCzt1d6+aubGdj4g
    IU1JkYZPS+sPBAEkUYBG93fQbvDrkkFWnfhD+iFxkbzGTf1zXLcyxKSnqxZSnvYyI7LrcF
    q6/2sYTNJnsd9b1ema6DPjeUbsEZYFGJsoHARt+cGbbMEjp4934EmgwhsB7Jud4IfeQAbq
    JbngfmjPma/N4wf2gx/q5mUw7j6V1d5vVNVMC0i9Po3jkyYxlVVrqVsW4jy0Wx5qq4qqle
    CNXTzuKiKUM9l2dQJyX5EGgcH5UmS8lM8lS8Tlta/42YUfhCZahaF9qKT5R+LXcGVTAJbV
    79KQJT8KE9BbePN0k4hLzvJqdvJKle+Smj2xU8AUx615Wa8vbiLjHoGMtSPEEP7CGI6Rmm
    f4AOKb+UdMSg0T2YwC/tH9784cJNE1n1X3CCYowyCjeMyxzVFaUdSw2EK1yf40jMe/fmon
    7CNraSw37hBdy/631ufbhoXLtgbdrWWU2AWGyHMk2hQNjey6XLq/Sg1hxpOg
X-ME-Proxy: <xmx:7VwEa5Dal8boHGWhURudzzdYuKu23gKRnCdsMHX7wxgwFc5g2bCnvA>
    <xmx:7VwEa0os244dwEz8Cm-Qy7s12V056G5fxtdt6KY_UMqrVO-Unnqhkg>
    <xmx:7VwEazmxUMEb8O2gOzxGHEBV74OimCstRoUxiXyUJ1E04OIdEwJNDQ>
    <xmx:7VwEa0zzWfNBUGEiXvbSv0z8cSs3fQqAU8_7Kvy0-gRDk3JGWPir_A>
    <xmx:7VwEa8bL-ktKkfwTdp-uQAgw7LO4sc5mKnYc-5tz-bVBYbFZGEuBV3df>
X-Feedback-ID: if26b431b:Fastmail
X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 23 Nov 2026 10:34:05 -0500 (EST)
X-Cc: Wasswa Edson <edsonwasswa54@gmail.com>,  git@vger.kernel.org,  Tanga
 Joris <tangajoris@gmail.com>
X-In-Reply-To: <20261123014412.35076-1-laveeshb@laveeshbansal.com> (Laveesh
	Bansal's message of "Sun, 22 Nov 2026 17:44:12 -0800")
X-User-Agent: Gnus/5.13 (Gnus v5.13)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list