Fix eval error #1

wants to merge 0 commits into


None yet
1 participant

cstanfield commented Sep 13, 2010

Since upgrading git above 1.7.1, I've been experiencing a syntax error because the eval string wasn't quoted. All I did was add some quotes. Cheers and thanks for the great script!

$ git subtree
/usr/local/libexec/git-core/git-subtree: eval: line 31: syntax error near unexpected token <' /usr/local/libexec/git-core/git-subtree: eval: line 31:cat <<\EOF usage: git subtree add --prefix= or: git subtree merge --prefix= or: git subtree pull --prefix= <refspec...> or: git subtree push --prefix= <refspec...> or: git subtree split --prefix= <commit...> -h, --help show the help -q quiet -d show debug messages -P, --prefix ... the name of the subdir to split out -m, --message ... use the given message as the commit message for the merge commit options for 'split' --annotate ... add a prefix to commit message of new commits -b, --branch ... create a new branch from the split subtree --ignore-joins ignore prior --rejoin commits --onto ... try connecting new tree to an existing one --rejoin merge the new branch back into HEAD options for 'add', 'merge', 'pull' and 'push' --squash merge subtree changes as a single commit EOF exit 129'
Usage: git subtree

rentzsch referenced this pull request in rentzsch/git-subtree Apr 30, 2012

Merge pull request #1 from rentzsch/patch-1
[DOC] Mention `git --exec-path` in README.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment