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