Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2007-04-14 00:13:10 +0400
committerJunio C Hamano <junkio@cox.net>2007-04-17 03:52:55 +0400
commit238128d88885b5d0f5a3e28d392362a9b267a03f (patch)
tree82e31f5e38269f9ab75a2979fc1db656f07d4eff /t/t4201-shortlog.sh
parent3d711d97a0db41633a5137e47358cf503b91b074 (diff)
Fix t4201: accidental arithmetic expansion
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>
Diffstat (limited to 't/t4201-shortlog.sh')
-rw-r--r--t/t4201-shortlog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4201-shortlog.sh b/t/t4201-shortlog.sh
index 321429c8fa..c27e39cb6f 100644
--- a/t/t4201-shortlog.sh
+++ b/t/t4201-shortlog.sh
@@ -11,7 +11,7 @@ test_description='git-shortlog
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