From: Junio C Hamano Date: Wed, 29 Apr 2015 05:39:44 GMT Subject: Re: Bug report : bad filter-branch (OSX only) Message-ID: In-Reply-To: <20150429045600.GA10781@peff.net> Jeff King 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?