mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Matteo Croce <technoboy85@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] get_maintainer: add ** globstar pattern support
Date: Sun, 01 Mar 2026 19:59:23 -0800	[thread overview]
Message-ID: <6239813acb4a396c727313e8fc77e527dfea5134.camel@perches.com> (raw)
In-Reply-To: <20260302025337.74629-1-teknoraver@meta.com>

On Mon, 2026-03-02 at 03:53 +0100, Matteo Croce wrote:
> Add support for the ** globstar operator in MAINTAINERS F: and X: patterns,
> 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.

      parent reply	other threads:[~2026-03-02  3:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-02  2:53 Matteo Croce
2026-03-02  3:45 ` Joe Perches
2026-03-02  3:59 ` Joe Perches [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6239813acb4a396c727313e8fc77e527dfea5134.camel@perches.com \
    --to=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=technoboy85@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®