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

`cat-file --filter` is broken in 2.50?

From
DPDan Pristupov <dan@fork.dev>
Date
Jun 30, 2025, 16:07 UTC
Message-ID
<6eb10e33-4001-95a7-d2ad-3dd2a5c830ab@fork.dev>
Hi,
`cat-file --filter` stopped working in git 2.50.

``` $ git version git version 2.47.1.windows.2

$ git cat-file --filter "HEAD:changelog.md" <content> ```

``` $ git version git version 2.50.0.windows.1

$ git cat-file --filter "HEAD:changelog.md" fatal: invalid filter-spec 'HEAD:changelog.md' ```

The problem was introduced at eb83e4c64b5a3458569593c2ab0c29365f10a82f.

Then it was merged into the main branch by a271b05066a1fd2c3a62508d9908d6c5df14a1cb.

This seems like a bug.
Next: Phillip Wood
Message 1 of 2 in “`cat-file --filter` is broken in 2.50?”
  1. Dan PristupovJun 30, 2025
  2. Phillip WoodJun 30, 2025

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.