From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) (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 C26882D9EC2 for ; Mon, 2 Mar 2026 03:59:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772423973; cv=none; b=ID4P5k4D1Cax0YBL2BV0NtqrNvBnvcpNTnCCIbeUjanm7ncojW9vIc0/OHezbQlBcdJPjLFfM5PgJspLGp5QU1/6gUdveZe5Sz4MihWKX8tU3IXsCFJIB3pKmNxDg45Xv4rMZpcMZB46rxKTCj6qPVKkCZUliTsmyHpa0GLWQlc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772423973; c=relaxed/simple; bh=JB/jK+03hj0yBGEpboUIWC90yoq8XbUsvcKNl5ciNAI=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=iTmf1+snO4Pu9RP4I2+imPDsJaLEfaKaK7Qu//RezU0F7UkB8PE1hodnPz/DFmcLvLtMTdCbMAfHzC4g6BORPfXGnfAKFGa230xf1qepTLwxG1ZiI7GfH4qvLGXsIGq5p5JogAsg8E+HKBDyQCBbXFtRoS2RD5O5zsJdiIh830Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com; spf=pass smtp.mailfrom=perches.com; arc=none smtp.client-ip=216.40.44.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=perches.com Received: from omf16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 346F013AB8D; Mon, 2 Mar 2026 03:59:26 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf16.hostedemail.com (Postfix) with ESMTPA id 8997920016; Mon, 2 Mar 2026 03:59:24 +0000 (UTC) Message-ID: <6239813acb4a396c727313e8fc77e527dfea5134.camel@perches.com> Subject: Re: [PATCH] get_maintainer: add ** globstar pattern support From: Joe Perches To: Matteo Croce Cc: linux-kernel@vger.kernel.org Date: Sun, 01 Mar 2026 19:59:23 -0800 In-Reply-To: <20260302025337.74629-1-teknoraver@meta.com> References: <20260302025337.74629-1-teknoraver@meta.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Server: rspamout05 X-Rspamd-Queue-Id: 8997920016 X-Stat-Signature: iujf7sn9tny39by3431ypmpocz67hata X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX19Hrp1kpKZ8BPwfrdVxmMalpnLPDvuvlbQ= X-HE-Tag: 1772423964-324692 X-HE-Meta: U2FsdGVkX1/3QzcyhyQnkBohonpZ1qdGOfT4jhuiaC474kyVD8l5ZkK+xl9ew3PD7VVgk5xvgcSFha1Vg+FR/hTtoYVEPyVhXgwDaQXMibf3Bw7cEe2r0TzfSE3eSRonSdQbnEBTfTr5hb9+pb+ONdK1UcucOcjFNw756jPlDcUQi5u6e4/J8PhGSb3JxAnaXwk6vN3CajqQoI2o8saRuIJGTfUT8uE7+5YM+jeiRVVRZV3JcC6CCR4v+01fzqY34ngly20uUy0/9bOUTMemW3+4S6AXgf+ch1CwjJjmuVmN+A2ytcP1+1ftMlnD0oz9 On Mon, 2026-03-02 at 03:53 +0100, Matteo Croce wrote: > Add support for the ** globstar operator in MAINTAINERS F: and X: pattern= s, > matching any number of path components (like Python's ** glob). Maybe when you add your ** entry to MAINTAINERS, update the file pattern block description to include the new ** glob. Maybe something like: --- diff --git a/MAINTAINERS b/MAINTAINERS index 14899f1de77ed..0e7059f9765cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -35,6 +35,7 @@ Descriptions of section entries and preferred order F: drivers/net/ all files in and below drivers/net F: drivers/net/* all files in drivers/net, but not below F: */net/* all files in "any top level directory"/net + F: fs/**/*foo*.c all *foo*.c files in any subdirectory of fs One pattern per line. Multiple F: lines acceptable. X: *Excluded* files and directories that are NOT maintained, same rules as F:. Files exclusions are tested before file matches.