threads / bug / 57620

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

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

## tl;dr

One message between Mar 26, 2022 and Mar 26, 2022.

replies: 0people: 1as markdown or json

Lars Strojny· Mar 26, 2022, 13:24 UTC · lore
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

← back to recent threads