# Bug report: filters not applied with git add --pathspec-file-nul

1 messages from 2022-03-26 to 2022-03-26. Participants: Lars Strojny.
Thread: https://gitlist.dev/t/57620

## Lars Strojny, 2022-03-26 13:24

Subject: Bug report: filters not applied with git add --pathspec-file-nul
Message-ID: <CAOG+ZNsY6Pyzp11zjybNzvD4F0xZFoppiPHanvS+n2hx5y0Aqg@mail.gmail.com>
URL: https://gitlist.dev/e/CAOG%2BZNsY6Pyzp11zjybNzvD4F0xZFoppiPHanvS%2Bn2hx5y0Aqg%40mail.gmail.com

```
Hi everybody,

it looks like git add --pathspec-from-file=$null-sep-file
--pathspec-file-nul ignores filters configured in .gitattributes.
Without --pathspec-file-nul it works as expected. Is this a bug or am
I missing something? Git version is 2.35.1

cu
Lars

```
