filter-branch: fix dash complaining about "Missing '))'"
commit24d00634948452d0bec1b373b6a2eb9145fc8bfc
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Tue, 24 Jul 2007 21:29:29 +0000 (24 23:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jul 2007 00:28:10 +0000 (24 17:28 -0700)
tree2af3d5a20fe6685dd6f3dd13df3ad976b45d41c1
parent3473e7df5f8c7f8dc3e2c3f2fdc99a1d1a719c16
filter-branch: fix dash complaining about "Missing '))'"

On e.g. Ubuntu, dash is used as /bin/sh.  Unlike bash it parses
commands like

  a=$((echo stuff) | wc)

as an arithmetic expression while what we want is a subshell inside
a command substitution.  Resolve the ambiguity by placing a space
between the two opening parentheses.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh