On Mon, Mar 5, 2018 at 11:59 AM, Phillip Wood <phillip.wood@xxxxxxxxxxxx> wrote: > I did wonder about putting this function in a library when I first wrote > it but decided to wait and see if it is useful instead. As Junio points > out it would need to be improved to act as a generic filter, so I'll > take the easy option and leave it where it is at the moment. Makes sense. I just pointed it out, because I could have used it already in its current form for a test I was working on last week.