summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b704a8b)
raw | patch | inline | side by side (parent: b704a8b)
author | Brandon Casey <drafnel@gmail.com> | |
Mon, 29 Aug 2011 20:09:25 +0000 (13:09 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 31 Aug 2011 00:07:09 +0000 (17:07 -0700) |
Some platforms (IRIX, Solaris) provide an ancient /bin/sh which chokes on
modern shell syntax like $(). SHELL_PATH is provided to allow the user to
specify a working sh, let's use it here.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
modern shell syntax like $(). SHELL_PATH is provided to allow the user to
specify a working sh, let's use it here.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6030-bisect-porcelain.sh | patch | blob | history |
index 4fb7d11c4739a0c61f0d0157a92b88e25b02f903..cd9de634a16d633e495a86e8425c5a7f066ce68e 100755 (executable)
git bisect reset &&
git checkout broken &&
git bisect start broken master --no-checkout &&
- git bisect run sh -c '
+ git bisect run \"\$SHELL_PATH\" -c '
GOOD=\$(git for-each-ref \"--format=%(objectname)\" refs/bisect/good-*) &&
git rev-list --objects BISECT_HEAD --not \$GOOD >tmp.\$\$ &&
git pack-objects --stdout >/dev/null < tmp.\$\$