Fixing eval syntax error.
[gitweb.git] / git-subtree.sh
index 781eef3783c2d12bf567a4e1fd201b66ad29e0a8..ce94d363dcc55493f5a49722124de75722018ff7 100755 (executable)
@@ -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