Re: [PATCH 1/2] add setup step to filter-branch

2017-06-09 Thread Junio C Hamano
Jeff King writes: > I have a feeling that if we were ever to rewrite filter-branch, it would > probably be worth allowing people to write snippets in a better language > (possibly even a domain-specific language). I'm sure that most of the > program being written in shell doesn't help, but if we'

Re: [PATCH 1/2] add setup step to filter-branch

2017-06-08 Thread Jeff King
On Mon, Jun 05, 2017 at 11:15:18AM +0900, Junio C Hamano wrote: > Andreas Heiduk writes: > > > A specific `--setup` step in `git filter-branch` makes it much easier > > to define the initial values of variables used in the real filters. > > Also sourcing/defining utility functions here instead o

Re: [PATCH 1/2] add setup step to filter-branch

2017-06-04 Thread Junio C Hamano
Andreas Heiduk writes: > A specific `--setup` step in `git filter-branch` makes it much easier > to define the initial values of variables used in the real filters. > Also sourcing/defining utility functions here instead of > `--env-filter` improves performance and minimizes clogging the output >