summaryrefslogtreecommitdiff
path: root/notes-utils.c
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2016-04-22 22:32:21 +0200
committerJunio C Hamano <gitster@pobox.com>2016-04-22 13:55:28 -0700
commit0ff74101dcc6050190b5f55da1b79a3df1611804 (patch)
tree07b906c7e7399b09a2e2a20026729bc65d96360d /notes-utils.c
parent6a6636270fbaf74609cd3e1bd207dd2c420d640a (diff)
downloadgit-0ff74101dcc6050190b5f55da1b79a3df1611804.tar.gz
test-lib: simplify '--option=value' parsingsg/test-lib-simplify-expr-away
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 'notes-utils.c')
0 files changed, 0 insertions, 0 deletions