New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: unknown option `list' when updating/checking out branch #16
Comments
Just found out it has a minimal requirement of Git 1.7.8 (concerning the --list option), maybe this could be added in the README.md |
Thank you for taking your time reporting this issue. If you know a way to do this in the right way let me know... |
closing... |
It might still be a good idea to mention that git 1.7.8 is required as I am using 1.7.1 and the error is coming up for getBranches() and getMainBranch() |
thanks for the info! |
Using v0.9.14, I retested getMainBranch() and that now works in both git 1.7.1 and the newer 1.8.2 |
Great! Thanks... |
error: unknown option `list'
usage: git branch [options] [-r | -a] [--merged | --no-merged]
or: git branch [options] [-l] [-f] []
or: git branch [options] [-r](-d | -D)
or: git branch [options](-m | -M) []
at Caller ->execute ('branch '-v' '--list' '--no-color' '--no-abbrev' '-a' 'master'')
in cypresslab/gitelephant/src/GitElephant/Objects/TreeBranch.php at line 111
I use git 1.7.1. on CentOS 6. I guess this library depends on git 1.8.x? Can't figure out when this option was introduced, in documentation of Git it seems like this option is there forever. Also when doing "git branch --help" it doesnt show anything about the "--list" option.
The text was updated successfully, but these errors were encountered: