git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
LSLars Strojny <lars.strojny@gmail.com>
Date
Mar 26, 2022, 13:24 UTC
Message-ID
<CAOG+ZNsY6Pyzp11zjybNzvD4F0xZFoppiPHanvS+n2hx5y0Aqg@mail.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

Message 1 of 1 in “Bug report: filters not applied with git add --pathspec-file-nul”
  1. Lars StrojnyMar 26, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.