Subject: Re: bug#66806: 30.0.50; [PATCH] 'project-find-regexp' passes Git submodules to the search program

From: Jim Porter <[email-masked]>
Date: Sun, 29 Oct 2023 17:25:36 -0700

On 10/29/2023 3:02 PM, Dmitry Gutov wrote:
> What should work, is adding the argument "--max-depth 0" (stopping the 
> traversal of passed directories). For ag, the corresponding fix seems to 
> be "--depth 0", but I haven't tested that in practice.

I tried that, and sadly it didn't work. That could be a bug in ag though.