🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #3646

Re: [PATCH] rev-parse, shortlog: accept --glob with a separate pattern

#3646
From: Laveesh Bansal
Date: Mon, 23 Nov 2026 16:59
18 lines
9922 bytes
Hi,

A gentle ping on this patch. It has been about two weeks since I sent
it, and I wanted to check that it had not slipped through. It still
applies to current master (f7de814569) without conflicts, and t6018
passes with it.

In short: "git log" accepts "--glob <pattern>" as two words, but "git
rev-parse" and "git shortlog" only understand "--glob=<pattern>". The
patch makes them accept both forms, which turns the four known-breakage
tests in t6018 into regular ones.

If this looks reasonable, I will send --exclude and --exclude-hidden as
a follow-up.

Thanks,
Laveesh
Technical Details
Message-ID: <20261123165903.58880-1-laveeshb@laveeshbansal.com>
Path: mbox-mo1.pugleaf.net!srl.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-76157-linux-kernel-git=dewy.ru
References: <20261109052402.33604-1-laveeshb@laveeshbansal.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.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-76157-linux-kernel-git=dewy.ru
From: laveeshb@laveeshbansal.com (Laveesh Bansal)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH] rev-parse, shortlog: accept --glob with a separate pattern
Date: Mon, 23 Nov 2026 08:59:03 -0800
Organization: Usenet Network
Message-ID: <20261123165903.58880-1-laveeshb@laveeshbansal.com>
References: <20261109052402.33604-1-laveeshb@laveeshbansal.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3936599"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:e6DQbJL5xBkvHKt5Og+7V0OAFbQ= sha256:7WeMIpVKNjnVol0MDSzblkmzdKEu9B2lqR6huqqMeu4=
	sha1:v40Zx6YjcQyOt+S/fo6cFO5PQrM= sha256:q+2EdQZPrjeefgI9ehqygNncrpvr9nfZwx76YPO0WXw=
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 E4CC3125DBF; Mon, 23 Nov 2026 20:15:05 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Status: No, score=-2.75 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_INVALID=0.1, DKIM_SIGNED=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,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=fail (1024-bit key)
	reason="fail (message has been altered)" header.d=laveeshbansal.com
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 suZxypDqSYmE;
	Mon, 23 Nov 2026 20:15:02 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76157-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=laveeshbansal.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id BDFD9125DC0; Mon, 23 Nov 2026 20:14:53 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 2DB0E399E6; Mon, 23 Nov 2026 17:14:47 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795454087;
	b=MxZhNBlVYjZACJ/5gw0mzxtv9aIlq9Q9Ch4YkNHk4o8E198reNMinSzvEyHr+J3MeLMA
	 85Tl4ms4QMfTW6dqg+NtpDzm0yxB+pz4BamZTIyj1aC0ITcZ7pRj28lAAjON27Gar9S3q
	 RNXb0izKrx9L/3efctYNiyJZlOu1JnYNowpsa+yWxYKV8PgvHIeL6tdeQMTZgImTnPFmG
	 xD+nOiocbIUfaW7cl7PdJ3rap1bIiRPE3eYVM5gB/sHyIBLUC94wJG1tCsOM8Omq43B1o
	 3AZU5Hk41jANFtwkCa1RNjrw9uFDO6S2DAyeDdeoVKNq2Gh5nRRaGTXZiOkJJ+0HylQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795454087;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:From:To:
	 Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:X-ZohoMailClient;
	bh=a7PHr1g0kcu4zq2IUQ0m5U+8yyi0nD6nbmgpt59mW/g=;
	b=gNt2OVFHgsd1Jphzh8GG2R1lYXxjeTnOXuNYUTBQ66MogCn0sRhmsb4R5Rtfea1qswR5
	 NbtCoVNvL8i8M7J9RsKUbos2scmbalBjpN5QLcVsfd0WURjS5WjEBYTFFKoduUFF24zhz
	 u1fu9AihBR64IX4pHq81RBVXB5AXc2V/h1iCX/c8WTkUbnxUADXp9BSum7RsYxb8X5PYc
	 znGxCEt1Rl9LUgTkzvbS04zr3v0U/DYqMP40zo8XDqmxNOQvhWVmsZh8KSAJSi1xMweD3
	 gBFy4fXhJ8BtS/R5plCxGTwH0IaV5GN1eAYANIjoHG+duFzD79vBGdKfMxuEHqXVZvg==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=fail reason="signature verification failed" header.d=laveeshbansal.com header.i=@laveeshbansal.com header.a=rsa-sha256 header.s=zoho header.b=QDL6a1pF;
	dmarc=none header.from=laveeshbansal.com;
	spf=pass smtp.mailfrom=laveeshbansal.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 056E4606A32D;
	Mon, 23 Nov 2026 17:14:47 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=fail reason="signature verification failed" (1024-bit key) header.d=laveeshbansal.com header.i=@laveeshbansal.com header.a=rsa-sha256 header.s=zoho header.b=QDL6a1pF
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.180.15
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795454086;
	b=vAKGRmej8L4XtA/7n4KevKcL1PEWwfihFaSTw4INUGjW9eVCkkfhP4kSb8OHj7heE+ra
	 Etdq6jw+52AzpvEDhaQ6Jcy35WCbSasIZtmOZYf6RnMQZjAfddwLzJBLbi1QuxVeu6LJ+
	 kAuGZ5k9xF93dSuvLdLqidvwyHeXrKUH0TsQcgetwy8qQ+CU3aEdg5DuXOd1duWrL0bWf
	 Ml0fbjQXKzNyAj6dANMGmg/WEXmkq3WfZnczEz7HEGWFzt2tkRQ4T8OZtXby3bqbLTMj1
	 I3NehPCKpIu0IbeDT2fGN6p18YdEIo1dCKrm4SyIh9d7HvbrZSganBkinSio+eZ4DLg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795454086;
	h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date:
	 Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
	 Content-Transfer-Encoding:X-ZohoMailClient;
	bh=a7PHr1g0kcu4zq2IUQ0m5U+8yyi0nD6nbmgpt59mW/g=;
	b=3VWHcJM8MWQ/umo438YMDYy/zFoqfjAGjE1+a4T2g5AKRhk+lbC8R5kOT1w/SVaXpBZs
	 qxc6flvxUxPppeq5tqo4De0FtzAPcSG8g/JosoJkOBc8H2DS4FLTgjGFUuhWS1t2Xirqh
	 GyhXhY3pCaMqR3Y5vD3QSbOxaTnBw1ICZ2GJFXq3SMc04zFf/luA6ofirnlPpK8KEpsG+
	 Nk2D8mRVLjp3FXgIKMff80f0OZ8+zSM4eXeMYz+POU1PGcElLib8UQyz83V5ivbJiyPxg
	 YvdHMGA3rwQgQ0I5vm7eA0VwCE2cDPaesoZl6XfDf7TI3D3GRB1yAihMcCT11veHz7g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=laveeshbansal.com;
	spf=pass smtp.mailfrom=laveeshbansal.com;
	dkim=pass header.d=laveeshbansal.com header.i=@laveeshbansal.com header.a=rsa-sha256 header.s=zoho header.b=QDL6a1pF;
	arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.180.15
X-Received: from sender6-op-o15.zoho.com (sender6-op-o15.zoho.com [165.173.180.15])
	(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 92601606A31F
	for <git@vger.kernel.org>; Mon, 23 Nov 2026 17:14:45 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 92601606A31F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=laveeshbansal.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=laveeshbansal.com
X-ARC-Seal: i=1; a=rsa-sha256; t=1795453152; cv=none; 
	d=zohomail.com; s=zohoarc; 
	b=SxQibDRLQF0k6JQZ8NN58YT69x0dKi7JZq3Wd9tbiO7wYIqB9HWzZu4dfvD0zHtAY5pI3fsMgb5kafry7sSUS96kec3lp29WNVZReyN2NhfskobqrfQra2zLty9lrlYx05t/gtd3mI2Uso3y/OHt9SuhwveBhmgN4tdReksOUMM=
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; 
	t=1795453152; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; 
	bh=a7PHr1g0kcu4zq2IUQ0m5U+8yyi0nD6nbmgpt59mW/g=; 
	b=NTypmr9zJQffIKneBGDjveHqjkbRFly37GhlUU2B7ScfpZ0KfqLrq5EQPHBnnMjwAWZjOFJsKH9aWv1r2MNhI85hrBmHOg51u4lAZIyxxQbPDrka9633gKjdZ7KK0o2ecLe2/iMF0B1JwRJ1GBSav19c6Q2bR18rtDSLCjZmvaM=
X-ARC-Authentication-Results: i=1; mx.zohomail.com;
	dkim=pass  header.i=laveeshbansal.com;
	spf=pass  smtp.mailfrom=laveeshb@laveeshbansal.com;
	dmarc=pass header.from=<laveeshb@laveeshbansal.com>
X-DKIM-Signature: a=rsa-sha256; b=QDL6a1pFVljeZH5ypu2IBM2EvdB/FflcY+xseGoJCqEzY0uUpXcJ0T10Y87/vfYBd1QBOJXesfzGHkxLQiOuoOI8iy11pW1jo6jcpg5r8fh+aBd8wAe/RAMJhEDSDmO63RiBZv1euO28BeNXFEN5TxkLjmDTE5YvuIPERw9yhO0=; c=relaxed/relaxed; s=zoho; d=laveeshbansal.com; v=1; bh=a7PHr1g0kcu4zq2IUQ0m5U+8yyi0nD6nbmgpt59mW/g=; h=Content-Description:Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Resent-Sender:Resent-Cc:Resent-Date:Resent-To:Reply-To:Resent-Message-ID:Resent-From:Sender:Subject:To:Date:From:Message-Id:Reply-To:Subject:To:Cc;
X-Received: by smtp.zohomail.com with SMTPS id 1795453150593882.9888702137875;
	Mon, 23 Nov 2026 08:59:10 -0800 (PST)
X-Cc: Junio C Hamano <gitster@pobox.com>,
	Jeff King <peff@peff.net>,
	Patrick Steinhardt <ps@pks.im>,
	Jonathan Nieder <jrnieder@gmail.com>
X-Mailer: git-send-email 2.54.0
X-In-Reply-To: <20261109052402.33604-1-laveeshb@laveeshbansal.com>
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
X-ZohoMailClient: External