diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-10-14 11:07:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-14 11:11:30 -0700 |
commit | 15a31e78852f4ede5335552875006daeedfc3aa7 (patch) | |
tree | c02cf827900b476d7a1862903600e53fee550d2e /pager.c | |
parent | git-difftool: allow skipping file by typing 'n' at prompt (diff) | |
download | tgif-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 'pager.c')
0 files changed, 0 insertions, 0 deletions