filter-branch: add `--setup` step
authorAndreas Heiduk <asheiduk@gmail.com>
Sat, 10 Jun 2017 08:54:44 +0000 (10:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jun 2017 16:44:54 +0000 (09:44 -0700)
A `--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 in case of errors.

Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found