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 /git-add--interactive.perl | |
| parent | 6a6636270fbaf74609cd3e1bd207dd2c420d640a (diff) | |
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 'git-add--interactive.perl')
0 files changed, 0 insertions, 0 deletions
