summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3d711d9)
raw | patch | inline | side by side (parent: 3d711d9)
author | Alex Riesen <raa.lkml@gmail.com> | |
Fri, 13 Apr 2007 20:13:10 +0000 (22:13 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 16 Apr 2007 23:52:55 +0000 (16:52 -0700) |
instead of embedded subshell. It actually breaks here (dash as /bin/sh):
t4201-shortlog.sh: 27: Syntax error: Missing '))'
FATAL: Unexpected exit with code 2
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t4201-shortlog.sh: 27: Syntax error: Missing '))'
FATAL: Unexpected exit with code 2
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t4201-shortlog.sh | patch | blob | history |
diff --git a/t/t4201-shortlog.sh b/t/t4201-shortlog.sh
index 321429c8fa94b238c77d6a0bb41857b528876adf..c27e39cb6f85a68af29fae6849f2811eaee4c44a 100644 (file)
--- a/t/t4201-shortlog.sh
+++ b/t/t4201-shortlog.sh
echo 1 > a1
git add a1
tree=$(git write-tree)
-commit=$((echo "Test"; echo) | git commit-tree $tree)
+commit=$( (echo "Test"; echo) | git commit-tree $tree )
git update-ref HEAD $commit
echo 2 > a1