Subject: Re: Bug report : bad filter-branch (OSX only)

From: Junio C Hamano <[email-masked]>
Date: Tue, 28 Apr 2015 22:39:44 -0700

Jeff King <[email-masked]> writes:

> I'm not sure of a solution short of replacing the use of sed here with
> something else. perl would be a simple choice, but filter-branch does
> not otherwise depend on it. We could use a shell "read" loop, but those
> are quite slow (and filter-branch is slow enough as it is!).

You need to only skip the header part, right?
I would imagine that

(
	while read x && test -n "$x"
        do
        	:;
	done
	cat
) <../commit | eval "$filter_msg"

would not spin too much in shell loop, perhaps?