September 20, 2024 at 10:48 AM, "Ronan Pigott" <ronan@xxxxxx> wrote: > $ git --work-tree=/var/empty --git-dir=test ls-files ':(attr:myattr)' # list of files with myattr set > $ git --git-dir=test archive @ ':(attr:login)' > > fatal: pathspec ':(attr:login)' did not match any files Sorry for the typo, both cases are using the same pathspec ':(attr:login)' but the issue as described remains.