From: Torsten Bögershausen Date: Fri, 05 Aug 2016 21:19:07 GMT Subject: Re: [PATCH v4 07/12] run-command: add clean_on_exit_handler Message-ID: In-Reply-To: <6C522B0F-F8F7-4B51-8BF0-67D9EDC97B3B@gmail.com> On 2016-08-05 15.08, Lars Schneider wrote: [] > Yeah it could do that. But then the filter cannot do things like > modifying the index after the fact... however, that might be considered > nasty by the Git community anyways... I am thinking about dropping > this patch in the next roll as it is not strictly necessary for my > current use case. (Thanks Peff for helping me out with the EOF explanation) I would say that a filter is a filter, and should do nothing else than filtering one file, (or a stream). When you want to modify the index, a hook may be your friend.