aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Stanfield <cstanfield@antifusion.net>2010-09-13 13:16:57 -0600
committerAvery Pennarun <apenwarr@gmail.com>2010-10-21 12:18:51 -0700
commit11f1511e7650a78709d0d7198bb150cd5392d9d1 (patch)
tree751af4f856d77af407e90945ef6a3d88e7c58cca
parent7f74d65b12ecb5142442c276da805b42e3023a9d (diff)
downloadgit-11f1511e7650a78709d0d7198bb150cd5392d9d1.tar.gz
git-11f1511e7650a78709d0d7198bb150cd5392d9d1.tar.xz
Fixing eval syntax error.
-rwxr-xr-xgit-subtree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-subtree.sh b/git-subtree.sh
index 781eef378..ce94d363d 100755
--- a/git-subtree.sh
+++ b/git-subtree.sh
@@ -28,7 +28,7 @@ rejoin merge the new branch back into HEAD
options for 'add', 'merge', 'pull' and 'push'
squash merge subtree changes as a single commit
"
-eval $(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)
+eval "$(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)"
PATH=$PATH:$(git --exec-path)
. git-sh-setup