Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not use --depth=1 if the server does not support it, fixes #744 #747
If a clone with --depth=1 fails, we retry without it.
Also, there are some git servers that do not support trailing .git, like RhodeCode.
Test cases added and adjusted.
referenced this pull request
Aug 8, 2013
Hello @satazor .
Cloning into '.'...
Unfortunaltely grunt-bower-task module try to use the option '--depth' even if the repository is using the http transport.
Can you help me?
@fsferrara We have improved the no
You're right! I don't have the patch https://github.com/bower/bower/blob/master/lib/core/resolvers/GitRemoteResolver.js#L136 in my bower version.