diff options
author | SZEDER Gábor <szeder@ira.uka.de> | 2016-04-22 22:32:21 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-22 13:55:28 -0700 |
commit | 0ff74101dcc6050190b5f55da1b79a3df1611804 (patch) | |
tree | 07b906c7e7399b09a2e2a20026729bc65d96360d /t/t1403-show-ref.sh | |
parent | Prepare for 2.8.2 (diff) | |
download | tgif-0ff74101dcc6050190b5f55da1b79a3df1611804.tar.xz |
test-lib: simplify '--option=value' parsing
To get the 'value' from '--option=value', test-lib.sh parses said
option running 'expr' with a regexp. This involves a subshell, an
external process, and a lot of non-alphanumeric characters in the
regexp.
Use a much simpler POSIX-defined shell parameter expansion instead to
do the same.
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1403-show-ref.sh')
0 files changed, 0 insertions, 0 deletions