René Scharfe <rene.scharfe@xxxxxxxxxxxxxx> writes: > It seems your patch still allows recursion, one level deep. I suspect what the patch wants to do may be fundamentally unworkable. Unlike GNU grep that takes its command line arguments literally as files and directories, we use them merely as pathspec filters, so... > $ git grep -l --directories=skip GNU compat/* ... while I think you should be able to compensate for this kind of "off-by-one" and make it appear to work, I do not think there is a good definition of which level it should stop if you run it with something like this (notice the single-quote around the pathspec to prevent it from getting expanded by the shell): git grep GNU 'compat/*/*' -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html