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

Re: [PATCH] filter-branch: prevent filters from reading from stdin

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 5, 2007, 16:10 UTC
Message-ID
<Pine.LNX.4.64.0706051704170.4046@racer.site>
In-Reply-To
<20070605141208.GA23605@moooo.ath.cx>
Hi,
On Tue, 5 Jun 2007, Matthias Lederhofer wrote:
> stdin is the list of commits when the env, tree and index
> filter are executed.  The filters are not supposed to read
> anything from stdin so the best is to give them /dev/null
> for reading.

ACK. After chatting with Matthias on IRC, I agree that there is more damage than benefit from being able to (accidentally) take stdin in these filters.

Ciao, Dscho

Previous: Matthias Lederhofer
Message 2 of 2 in “filter-branch: prevent filters from reading from stdin”
  1. filter-branch: prevent filters from reading from stdinMatthias Lederhofer, Jun 5, 2007
  2. Johannes SchindelinJun 5, 2007

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.