🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #4020

Re: [PATCH v2] gitignore: rewrite wildcard description

#4020
From: "Matt Hunter"
Date: Sat, 28 Nov 2026 07:13
19 lines
8528 bytes
On Tue Nov 3, 2026 at 5:40 PM EST, Junio C Hamano wrote:
> The documentation for '.gitignore' makes reference to fnmatch(3) and
> FNM_PATHNAME to describe how an asterisk "*" and a question mark "?"
> behave.  Even though it spells out that these wildcard characters
> do not match a slash, it does not say if an asterisk matches an
> empty string (it does).
>
> Rewrite the section so that the readers would get a more complete
> picture without requiring them to know what fnmatch(3) and glob(7)
> says.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---

I see this patch has been stalled for going on a month with no feedback.

However the rewritten section, with its new explicit wording, looks good
and clear to me.
Technical Details
Message-ID: <DN6NOUP5N3QB.1F84PP4O8PYYW@lfurio.us>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76572-linux-kernel-git=dewy.ru
References: <07b3498d83424cac87221724b371839a@ukr.de> <xmqq5wyjxgyn.fsf@gitster.g> <xmqqh5hx4jz3.fsf_-_@gitster.g>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76572-linux-kernel-git=dewy.ru
From: m@lfurio.us ("Matt Hunter")
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v2] gitignore: rewrite wildcard description
Date: Sat, 28 Nov 2026 02:13:06 -0500
Organization: Usenet Network
Message-ID: <DN6NOUP5N3QB.1F84PP4O8PYYW@lfurio.us>
References: <07b3498d83424cac87221724b371839a@ukr.de>
 <xmqq5wyjxgyn.fsf@gitster.g> <xmqqh5hx4jz3.fsf_-_@gitster.g>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="902732"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:DfC5hDWkO/PTiBwV53+s3ti2HS8= sha256:f/9sZ6mzj8ZISEqM4L7hYxfGf0NlmS/j2xcp9psqpMk=
	sha1:8h7JtcSUZGDZD/zflnUk0juOXf8= sha256:9+PgsgzOqF53UrNJBRODP4ADvKkMsJYrZ8OA5joIqPk=
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 6DF6B125F70; Sat, 28 Nov 2026 10:13:56 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Status: No, score=-1.95 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, 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,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=lfurio.us
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 xVfBdtYg2Kwk;
	Sat, 28 Nov 2026 10:13:49 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76572-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lfurio.us
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 1EE44125F6D; Sat, 28 Nov 2026 10:13:40 +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 8A53D26CB8; Sat, 28 Nov 2026 07:13:37 +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=1795850016;
	b=abzAO61kyf8YK/JmKuUae4dyPZuN0IfBCtE+Iwk48awkSYHRl1HTWLNpLz8Bz+cYsANm
	 afcsJLPNhv/9YviVI+Qs59M1rtCrrh8c2gER5TAZh4pnEgw0foDSagCUEBP5cgO8Y7LoF
	 kZERcKj20YSRPgBAqw0X1P0Q7u/u2+Eu0PIm6ybsiJoL6gR/01rJaKTJMFuxgFxJzEXtd
	 C51ncqcg5Ys46S5/CecWhPEFSU7rWQ3wKbJPB9xWgMdLu1wuDfnH89VviEQfgV38KQESO
	 tlLUYyQlPMWlC4qgR39qzl6eiFGnckQhfrIpXxxysRKgy9/nNTFgeCmAVRDkDZt/sxw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795850016;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:Mime-Version:
	 Content-Transfer-Encoding:Content-Type:Date:Message-Id:Subject:Cc:To:
	 From:X-Mailer:References:In-Reply-To;
	bh=PbAicl0DG5qHnBrjYiNVd2LYZ726+6he0IcXzp8ePBY=;
	b=gUxZisaCDUMKb+GUvH+9RwApQWKx4fRzx4N7ihZxsQUw967MPyQH+qFSblRgdaALcvc5
	 WoaF5Nqm863XJiqJUJk8MrcAj4BHAZzxwe/toaGG0fFCUBvQ+lnpLtd0hQtfFVRqgBAPj
	 Yb7vsK+C3lG5uPgywdYx1Uds2iajl3U0R1U0ClV7Bvbj6B0+YdVNGiD4TurerStGDMAoP
	 ElYP8LkeSomAryUMJWlzkH9N3uyEhKc1iRnO3XgU4qtqv1a32/uHXHSelp1k608BRDLIw
	 qL7cHY0Fstu9paxdlH8NI7+Acb1ukcqkLBwQNFte7/H3c6+yNxY5faxvn/3B2wew1Ng==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lfurio.us header.i=@lfurio.us header.a=rsa-sha256 header.s=default header.b=RWosgHoE;
	dmarc=pass header.from=lfurio.us;
	spf=pass smtp.mailfrom=lfurio.us;
	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 753E4606A327;
	Sat, 28 Nov 2026 07:13:36 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lfurio.us header.i=@lfurio.us header.a=rsa-sha256 header.s=default header.b=RWosgHoE
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=157.230.60.252
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795850015;
	b=3LmSPrpGIcL2PUV5l1vPBwEAPHbQe2eSZDT6SdsNmGe99gw/rQPATS1KxD+93ArBVCJk
	 EBi59PUnolbX0S3hciiycQtwyaraK1XBSOQmaxpnyB3IC37eSVq7FBsNOQ657+iqEBEH8
	 /Jjr4rymP8x1A0mr7ggXqNjbl9NAf2DJ2s992mbr+2ZMb6ykdr0ffCrLeS/bqsYoaqKce
	 A1/Vq8+gXPnK9FMC1eFuDpWkvRQLbfzPRt50cawn5hHHTN6hh863rtUITtKrcvA35smet
	 sMUanr7g6M6uAjnRiK2ufIxLe4XN0MYj/+f8Sss0uIVsJG7r/2tVorNocjl9CaFUt0g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795850015;
	h=DMARC-Filter:DKIM-Signature:Received:Mime-Version:
	 Content-Transfer-Encoding:Content-Type:Date:Message-Id:Subject:Cc:To:
	 From:X-Mailer:References:In-Reply-To;
	bh=PbAicl0DG5qHnBrjYiNVd2LYZ726+6he0IcXzp8ePBY=;
	b=FJUBJQ7AD4PcZ2RYnOYXtRDXB0jO04GZ82X47fikVR5G7G6istNEJWVQqaFLcb+BGlJ2
	 8+uy8+9KeHLXxdzetJyVNsA5UXQDEJTQIaA8hXluHAuGlGNVBwaXbGvAvIVvkvzr08qua
	 y6JY4wwWjVGiSVeGFi67K3fP+3og3zeWNxBfK8nCh5TcDctMxqvMbb2jBPoqNIng4BbxO
	 c705qKsFwW1hsGjdW7mJyIq40Ra627oeEYdv1+lrSX00j+mWYXFx/gThjZaOfGMDPw/GI
	 GSC2iO4rGNlptS8HxXgTZCbQIgCtnst+2J2nxN4gFziI4xWP83rofA96pVJZSd3jc1Q==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lfurio.us;
	spf=pass smtp.mailfrom=lfurio.us;
	dkim=pass header.d=lfurio.us header.i=@lfurio.us header.a=rsa-sha256 header.s=default header.b=RWosgHoE;
	arc=none smtp.remote-ip=157.230.60.252
X-Received: from mail.normalmode.org (h01.normalmode.org [157.230.60.252])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 102CC606A31C
	for <git@vger.kernel.org>; Sat, 28 Nov 2026 07:13:34 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 102CC606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lfurio.us
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lfurio.us
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lfurio.us; s=default;
	t=1795850013; bh=JjG4d6CTPcqTgm/mO3p/36lOZdVmwQg4sPkRdrJcsLk=;
	h=Date:Subject:Cc:To:From:References:In-Reply-To:From;
	b=RWosgHoETdr5E0mzO6BmLngDDTqwyCfbBITOwEnFBnBKvi9Tml2rLkluDc70G67p3
	 2E7lqK/7ozmgSkKqzmpE6wABpkLW7dPs8R9QAZKFmeczM/j+zDkXd45KqJ0xIgAtPO
	 iLB7cJVLltkJmiK7Z6ATPYn8A6zfy0F5kz/tENpc=
X-Received: by mail.normalmode.org (Postfix) with ESMTPSA id 74DBF63F91;
	Sat, 28 Nov 2026 07:13:33 +0000 (UTC)
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-Cc: "Windl, Ulrich" <u.windl@ukr.de>
X-Mailer: aerc 0.21.0-0-g5549850facc2
X-In-Reply-To: <xmqqh5hx4jz3.fsf_-_@gitster.g>