summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-10-14 11:07:26 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-14 11:11:30 -0700
commit15a31e78852f4ede5335552875006daeedfc3aa7 (patch)
treec02cf827900b476d7a1862903600e53fee550d2e /dir.c
parentgit-difftool: allow skipping file by typing 'n' at prompt (diff)
downloadtgif-15a31e78852f4ede5335552875006daeedfc3aa7.tar.xz
t7800: avoid arithmetic expansion notation
The construct "var=$(( something ..." is interpreted by some shells as arithmetic expansion, even when it clearly is not, e.g. var=$((foo; bar) | baz) Avoid the issue by giving an extra SP to help the parser, i.e. var=$( (foo; bar) | baz ) Noticed by Michael J Gruber. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions