aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-10-18 06:33:02 -0400
committerJunio C Hamano <gitster@pobox.com>2012-10-18 15:43:49 -0700
commit3c730fab2cae1bb52d34620af170a628b3b8c537 (patch)
tree49e086ccee1a7235111d4db676c77fb9168927eb /builtin
parentce80ca566af713c85ce3a1c20b466486058a971a (diff)
downloadgit-3c730fab2cae1bb52d34620af170a628b3b8c537.tar.gz
git-3c730fab2cae1bb52d34620af170a628b3b8c537.tar.xz
filter-branch: use git-sh-setup's ident parsing functions
This saves us some code, but it also reduces the number of processes we start for each filtered commit. Since we can parse both author and committer in the same sed invocation, we save one process. And since the new interface avoids tr, we save 4 processes. It also avoids using "tr", which has had some odd portability problems reported with from Solaris's xpg6 version. We also tweak one of the tests in t7003 to double-check that we are properly exporting the variables (because test-lib.sh exports GIT_AUTHOR_NAME, it will be automatically exported in subprograms. We override this to make sure that filter-branch handles it properly itself). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions