commit | cf77e92bf554ca19b152b39251d97032a24df193 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <shurcooL@gmail.com> | Thu Dec 24 16:23:18 2015 -0800 |
committer | Dmitri Shuralyov <shurcooL@gmail.com> | Thu Dec 24 16:23:18 2015 -0800 |
tree | 41e06119ff63349daa212053bd8fd35e15238f9f | |
parent | 61332c79e0494891db938a8032501c6fa49f7e00 [diff] |
gosrc: Use unmodified clone URL from import meta tag for cloning. This fixes a regression in #353 that caused vcs.download to fail for some valid go gettable packages because an incorrect clone URL value was being used. The clone URL value had a possible ".git" suffix trimmed, which is not correct according to how remote import path resolution is documented at https://golang.org/cmd/go/#hdr-Remote_import_paths. Fixes #356.