summaryrefslogtreecommitdiff
path: root/t/t2014-switch.sh
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder@ira.uka.de>2016-04-22 22:32:21 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-22 13:55:28 -0700
commit0ff74101dcc6050190b5f55da1b79a3df1611804 (patch)
tree07b906c7e7399b09a2e2a20026729bc65d96360d /t/t2014-switch.sh
parentPrepare for 2.8.2 (diff)
downloadtgif-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/t2014-switch.sh')
0 files changed, 0 insertions, 0 deletions